X-Git-Url: https://git.cweiske.de/playVideoOnDreamboxProxy.git/blobdiff_plain/b4701f3ef1f12b117ed6020d8b3e8a576ad6c6a5..da8f9390c923632a6d523fd843ae6b47d78acc1c:/README.rst diff --git a/README.rst b/README.rst index e439a56..73318cc 100644 --- a/README.rst +++ b/README.rst @@ -28,6 +28,11 @@ or IP address by creating a config file in ``data/config.php``. Simply copy ``data/config.php.dist`` onto ``data/config.php`` and adjust it. +If your dreambox web interface is password protected, add the username +and password to the ``$dreamboxUrl`` configuration variable:: + + $dreamboxUrl = 'http://user:pass@dreambox'; + ===== Usage @@ -38,6 +43,14 @@ Send the web site URL via POST to ``play.php``:: -H 'Content-type: text/plain'\ http://proxy.example.org/play.php +You can test it on command line, too:: + + $ php www/play.php http://example.org/page.htm + +Testing the URL selection without playing on the dreambox is possible:: + + $ php www/play.php http://example.org/page.htm --dry-run + ======= License