Support password-protected dreambox web interfaces
[playVideoOnDreamboxProxy.git] / www / play.php
index 36f3e6c56e7009e02144f488b9d675f943d28eb3..983cd7ff37f166ad2d13b1e61dc5a4f9ff1e6a3d 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 $youtubedlPath = '/usr/bin/youtube-dl';
-$dreamboxHost  = 'dreambox';
+$dreamboxUrl   = 'http://dreambox';
 
 require_once __DIR__ . '/functions.php';
 $cfgFile = __DIR__ . '/../data/config.php';
@@ -16,7 +16,7 @@ if (php_sapi_name() == 'cli') {
 } else {
     header('Video-URL: ' . $videoUrl);
 }
-playVideoOnDreambox($videoUrl, $dreamboxHost);
+playVideoOnDreambox($videoUrl, $dreamboxUrl);
 
 
 function errorInput($msg)