XBMC command line client
#1
Hi.

I've writted a command line client to control xbmc from a console.
Sources are available on github.

The client can be installed throught PyPi:
Code:
pip install xbmc-client

Availables commands so far :
Code:
Usage: xbmc-client [options]

Options:
  -h, --help            show this help message and exit
  -c CONFIG, --config=CONFIG
                        Configuration file. Default is located in ~/.config
                        /xbmc-client/config
  --host=HOST           XBMC http host. Will override configuration.
  --user=USER           XBMC http user. Will override the configuration.
  --password=PASSWORD   XBMC http password. Will override the configuration.
  --ping                Send a ping
  -p, --playpause       Plays or pauses playback
  -s, --stop            Stops playback
  --mute                Mute
  --unmute              Unmute
  --volume=VOLUME       Set the volume to the given value
  -n, --notify          Sends a notification
  -t NOTIFY_TITLE, --title=NOTIFY_TITLE
                        Notification title
  -m NOTIFY_MESSAGE, --message=NOTIFY_MESSAGE
                        Notification message
  --left                Send 'Left' key
  --right               Send 'Right' key
  --up                  Send 'Up' key
  --down                Send 'Down' key
  --back                Send 'Back' key
  --info                Send 'Info' key
  --select              Send 'Select' key
  --sendtext=SENDTEXT   Send a custom text input
  --window=WINDOW       Open a custom window
  --home                Open the Home window
  --weather             Open the Weather window
  --settings            Open the Settings window
  --videos              Open the Videos window
  --scan=SCAN           Scan the given library. Set it to 'audio' or 'video'
  --clean=CLEAN         Clean the given library. Set it to 'audio' or 'video'
  --addon=ADDON_ID      Execute the given addon. Parameters not yet
                        supporteds.

It's based on a previous python library I've introduced on this post (sources on github)
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC command line client0