Skip to content

Kodi/XBMC bash script to send Kodi commands from the command line

License

Notifications You must be signed in to change notification settings

jordanhillis/kodi-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

kodi-cli

Kodi/XBMC bash script to send Kodi commands using JSON RPC. It also allows sending youtube videos to Kodi.

#Usage

kodi-cli -[p|i|v|s|(y|q) youtbe URL/ID|t "text to send"|o "youtube title"]

#Arguments

-p Play/Pause the current played video
-s Stop the current played video
-y play youtube video. Use either URL/ID (of video)
-q queue youtube video to the current list. Use either URL/ID (of video). Use after -y.
-o play youtube video directly on Kodi. Use the name of video.
-v interactive volume control
-i interactive navigation mode. Accept keyboard keys of Up, Down, Left, Right, Back, information and context menu.
-t "text to send"

#Dependencies for the "-o" option to work you'll need to install mps-youtube

#Version 1.0

About

Kodi/XBMC bash script to send Kodi commands from the command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%