Skip to content

Server for the "Play video on Dreambox" android app. Mirror of http://git.cweiske.de/playVideoOnDreamboxProxy.git/

Notifications You must be signed in to change notification settings

cweiske/playVideoOnDreamboxProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Play video on Dreambox proxy server

Server for the "Play video on Dreambox" android app.

Accepts an URL, runs youtube-dl on it to extract the video URL and lets the Dreambox satellite receiver play this file.

Setup

Point your web server's document root to the www/ directory.

Altenatively symlink the www/play.php file into your document root directory.

Configuration

You can adjust the path to youtube-dl and the Dreambox host name 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

Send the web site URL via POST to play.php:

$ curl -XPOST --data http://example.org/page.htm\
      -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

This application is available under the AGPL v3 or later.

Author

Written by Christian Weiske, cweiske@cweiske.de

About

Server for the "Play video on Dreambox" android app. Mirror of http://git.cweiske.de/playVideoOnDreamboxProxy.git/

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages