From 0ffb3234646b0dc2865d453f97a541f288eaa398 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 23 Jan 2017 23:11:37 +0100 Subject: [PATCH] Update README and development docs --- README.rst | 6 ++++++ development.rst | 12 +++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index c3d236c..13390f1 100644 --- a/README.rst +++ b/README.rst @@ -52,6 +52,12 @@ Dependencies $ apt-get install youtube-dl https://github.com/rg3/youtube-dl + + The version packaged in the Debian repository is pretty old; + it's better to use the recent PyPi version:: + + $ pip install youtube-dl + Dreambox extensions The following extensions have to be installed on your Dreambox: diff --git a/development.rst b/development.rst index ee71944..bda8666 100644 --- a/development.rst +++ b/development.rst @@ -8,7 +8,7 @@ Commands Start firefox development profile ``../node_modules/.bin/jpm watchpost --post-url http://localhost:8888/`` Automatically re-build ``.xpi`` file and install it in Firefox -``../node_modules/.bin/jpm xpi`` +``../jpm-node_modules/.bin/jpm xpi`` Build a new version. Update ``package.json`` before. @@ -18,6 +18,10 @@ Fetch video URL:: $ youtube-dl --get-url https://www.youtube.com/watch?v=BRnPidrKto4 +Fetch all available URLs:: + + $ youtube-dl --quiet --dump-json https://www.youtube.com/watch?v=BRnPidrKto4 + Dreambox ======== @@ -33,6 +37,8 @@ Stop current video and end dreambox mediaplayer:: $ curl 'http://192.168.3.42/web/mediaplayercmd?command=exit' +Dreambox does not play HLS streams. + Debugging ========= @@ -43,8 +49,8 @@ Debugging -URLs -==== +Links +===== - https://developer.mozilla.org/en-US/Add-ons/SDK/Tools/jpm#Developing_without_browser_restarts - https://developer.mozilla.org/en-US/Add-ons/SDK/Tools/console#Logging_Levels - https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/system_child_process -- 2.30.2