]> pere.pagekite.me Git - homepage.git/commitdiff
Adjust indent and update tags/timestamp.
authorPetter Reinholdtsen <pere@hungry.com>
Sun, 2 Sep 2018 21:35:58 +0000 (23:35 +0200)
committerPetter Reinholdtsen <pere@hungry.com>
Sun, 2 Sep 2018 21:35:58 +0000 (23:35 +0200)
blog/data/2018-09-02-kodi-linux-youtube.txt

index dfb0bbcc3e0eed131f614f6e5f3d9efcbd8226e9..fc7122b690d32fa258324aa83daee308db400474 100644 (file)
@@ -1,6 +1,6 @@
 Title: Using the Kodi API to play Youtube videos 
-Tags: english, debian, video
-Date: 2018-09-02 23:30
+Tags: english, debian, video, kodi
+Date: 2018-09-02 23:40
 
 <p>I continue to explore my Kodi installation, and today I wanted to
 tell it to play a youtube URL I received in a chat, without having to
@@ -11,7 +11,10 @@ available from http://kodihost/jsonrpc, you can try the following to
 have check out a nice cover band.</p>
 
 <p><blockquote><pre>curl --silent --header 'Content-Type: application/json' \
-  --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Player.Open", "params": {"item": { "file": "plugin://plugin.video.youtube/play/?video_id=bmHHw5j2BhI&incognito=true&screensaver=true" } } }' http://projector.local/jsonrpc</pre></blockquote></p>
+  --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Player.Open",
+  "params": {"item": { "file":
+  "plugin://plugin.video.youtube/play/?video_id=LuRGVM9O0qg" } } }' \
+  http://projector.local/jsonrpc</pre></blockquote></p>
 
 <p>I've extended kodi-stream program to take a video source as its
 first argument.  It can now handle direct video links, youtube links