New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

kodi-query-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kodi-query-cli

Command line interface to query listings from a Kodi server

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

kodi-query-cli

Command line interface to query listings from a Kodi server.

Features:

  • Can be used to output data in a variety of formats
  • Can compare an existing directory of files against a remote Kodi server for info (--filter-by basename <path>)
  Usage: kodi-query [paths...]

  Options:

    -h, --help               output usage information
    -V, --version            output the version number
    -h, --host [address]     Sepecify the Kodi host
    -p, --port [number]      Specify the Kodi host port (default: 9090)
    -o, --output [renderer]  Set the output renderer. Values: json
    -v, --verbose            Be verbose
    --filter-by [field]      Filter output by a specified field (e.g. "basename" to filter only matching file basenames)
    --type [csv]             What types to query as a CSV (default: "movies,tv")
    --fields [csv]           Fields to request as a CSV (default: "title,year,file,thumbnail,plot,cast,rating")
    --sort [csv]             Fields to sort the output by as a CSV (default: "title,year")
    --start [number]         Start at a given offset
    --end [number]           End at a given offset

Examples

Get all titles of all movies known by Kodi:

kodi-query --host kodiserver -o titles

Compare a directory of files on this machine against a remote Kodi server and compose a HTML page brochure of the contents

kodi-query --host kodiserver -o brochure --filter-by basename ~/Desktop/Videos/*

Keywords

kodi

FAQs

Package last updated on 02 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts