A PHP DVR designed to run on PHP 5.2 easily supported by Debian Etch NAS boxes. It is a simple PHP 5.2 HTML5 application to provide simple TV recording and web playback capabilities.
Requirements:
- Requires php 5.2
- Requires libhdhomerun to be installed ( http://www.silicondust.com/support/hdhomerun/downloads/ )
- Requires a schedules direct subscription ( http://www.schedulesdirect.org/ )
- Requires a HDHomeRun box to record OTA TV
Ideally this would be handled as a package for the various NAS systems. You can manually install by:
- Make sure your machine has hdhomerun_config cmdline tool installed
- copy files over to web directory
- sudo chown -R www-data logs recordings
- sudo chgrp -R www-data logs recordings
- open up config.php and update the settings as appropriate for your system
- Add an .htaccess file to restrict access to this application
- from the main directory type: php setup.php [ doesn't work from weblink ]
If you're having issues with cronjobs make:
- Web server user is listed in /usr/lib/cron/cron.allow if that file exists
- Web server user is NOT listed in /usr/lib/cron/cron.deny file if that file exists.
- Make sure the $CRON_PATH variable is set correctly
- Make sure the Log directory is set to be writeable by the web server user (along with recordings)
(Under Construction)
- Fix setup.php - has issues
- Add Device/Tuner selection logic (defaults to 1st device, 1st tunner)
- Add HTML5 video streaming from recordings page (maybe spiff it up some?)
- Add a dashboard that shows available HD space, scheduled recordings, new shows
- Add a hook (for ffmpeg support) that enables re-encoding
- (WISHLIST) See about pulling commercial detection code from MythTV and incorporating with re-encoding
- (WISHLIST) See about adding live TV streaming (? with down-res encoding for remote viewing ?)
- Issues with cronjobs not being saved
please feel free to send me patches and I'll incorporate them.
Copyright 2012 by Chuck Choukalos, released under the MIT license