wiki:DvbCronRecordingPlugin

Version 9 (modified by guidod, 3 years ago) (diff)

--

trac-dvbcronrecording-plugin

Description

This Trac-Plugin maintains a database of recordings. Upon "Activate!" it creates a recording script. The actual recording is performed by a tuning the LinuxDVB device started by a Crontab call.

Bugs/Feature Requests

Existing bugs and feature requests for DvbCronRecordingPlugin are here.

If you have any issues, create a new ticket.

Download

Currently the most current source snapshot is hosted on the buildserver at home:guidod:tools:scm/trac-dvbcronrecording-plugin

Source

You can check out DvbCronRecordingPlugin from here using Subversion, or browse the source with Trac.

Installation

You can get a complete set of RPMs at the buildserver site including the trac modules. The tarball itself can be compiled into an rpm based on "rpm -ta $filename". If you do prefer to use distutils / setup.py then you can unpack the source tarball and run "setup.py install". For proper usage you do also need "gnutv" and "szap" from the dvb tools, please consult LinuxTV.org LinuxTV_dvb-apps

See https://sourceforge.net/apps/trac/dvbcronrec/wiki for further documentation.

Usage

Remember that you need to press "Activate" to generate the crontab entries. The default assumes that it should not write the /etc/cron.d/* files directly (you need to copy the dvbcronrecording-update-change.cron to /etc/cron.d/dvbcronrecording-update-change.cron once to allow it work) but you can also use a config item in the admin panel to select that it should be written directly.

Note that the system grew out of some local command-line scripts that would convert a list of recording times, channel info and program title into a matching recording script along with a Crontab entry. Transforming it into a Trac-Plugin allows for easier installation on a remote recorder box as well as sharing the recorder by multiple persons with just a web access to the recorder box.

Trac Technology

  • The plugin uses SqlAlchemy for the declaration of database-tables - see Trac SqlAlchemy
  • The plugin uses the TracSqlAlchemyBridgeIntegration (as local "tsab") for trac-specific DB-upgrades and DB-access.
  • The DB-version upgrades/downgrades are performed by using the sqlalchemy-migrate schemadiff.py for schema change detection and a homegrown schemachange.py script to do the actual sql upgrade/downgrade operations via the tsab.
  • The plugin i18n is based on gnugettext but with a direct loading of the *.po files.

Recent Changes

[10223] by guidod on 2011-05-23 03:15:52
New hack DvbCronRecordingPlugin, created by guidod

Author/Contributors

Author: guidod
Maintainer: guidod
Contributors: