kodi-cli - Send Youtube Videos to Kodi - Linux CLI

2,343 views · Published 27 February 2016 · 3:38 · Indexed 12 November 2026

Channel: gotbletu · 2016 · Science & Technology

Watch on YouTube

https://github.com/nawar/kodi-cli
Kodi/XBMC bash script to send Kodi commands from the command line

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|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.
-i interactive navigation mode. Accept keyboard keys of Up, Down, Left, Right, Back, information and context menu.
-t "text to send"

More from this channel