Information

Documentation

News

Sponsored Links

furious_tv

furious_tv is a set of tools to take XMLTV TV listings and enable a UNIX system to automatically record programs off of a TV card. It is written in C and uses a SAX parser for maximum speed and efficiency.

Development: Multithreaded ftv_record

Last Modified: 2003-08-13T05:32Z

In the original implementation of ftv_record(1), the program simply set recordings to be 5 seconds short to allow for the capture program to startup. This was because ftv_record(1) spawned another process to do the recording but then did no cleanup (e.g. of device locks) afterwards. In addition to this, if ftv_record(1) from the cron was not run again before the previous recording ended, the device would not be unlocked.

The new implementation spawns a new thread for each recording command (so it will work with multiple TV capture devices) and then frees the device and runs ftv_record(1) after the record command has finished up. This means the recording time is maximized and it won't matter how long it takes the capture program to start up.

Unfortunately, I haven't tested this feature at all and I want to have it tested and ready for the first release. Just know that this development time is being well spent =)