Skip to content

cweiske/playVideoOnDreamboxProxy

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
www
 
 
 
 
 
 

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