Skip to content

A PHP DVR designed to run on PHP 5.2 easily supported by Debian Etch NAS boxes

Notifications You must be signed in to change notification settings

choukalos/phpdvr

Repository files navigation

phpdvr

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:

Install / Setup

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)

To Do

(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 ?)

Known Issues

  1. Issues with cronjobs not being saved

Changes/updates

please feel free to send me patches and I'll incorporate them.

Copyright 2012 by Chuck Choukalos, released under the MIT license

About

A PHP DVR designed to run on PHP 5.2 easily supported by Debian Etch NAS boxes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages