Update README and development docs
authorChristian Weiske <cweiske@cweiske.de>
Mon, 23 Jan 2017 22:11:37 +0000 (23:11 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Mon, 23 Jan 2017 22:14:12 +0000 (23:14 +0100)
README.rst
development.rst

index c3d236c4215bf3c78a20b38258b77aef0b251815..13390f1b55e98925a7dea196568049c921f5225c 100644 (file)
@@ -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:
 
index ee719445297b4e27d2d286a76c0d2a77a96492e9..bda866662fabbac5e8058a186966e1c01c4bcaed 100644 (file)
@@ -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