[mythtv-commits] mythtv commit: r23044 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Dec 31 21:57:51 UTC 2009


      Author: danielk
        Date: 2009-12-31 21:57:50 +0000 (Thu, 31 Dec 2009)
New Revision: 23044
   Changeset: http://svn.mythtv.org/trac/changeset/23044

Added:

   trunk/mythtv/libs/libmythtv/importrecorder.cpp
   trunk/mythtv/libs/libmythtv/importrecorder.h

Modified:

   trunk/mythtv/libs/libmythtv/cardutil.cpp
   trunk/mythtv/libs/libmythtv/cardutil.h
   trunk/mythtv/libs/libmythtv/dbcheck.cpp
   trunk/mythtv/libs/libmythtv/libmythtv.pro
   trunk/mythtv/libs/libmythtv/tv_rec.cpp
   trunk/mythtv/libs/libmythtv/videosource.cpp

Log:

Adds an import recorder.

This was written for my own frontend testing purposes. But with Chris Petersen's system events patch I think this can have more general usefulness.

The old method to use this was to look at the log and move the file into place.. but now you can actually just tie it to a script that is run on the recorded started event.

Mine just has this:
#!/bin/bash
echo start /bin/bash   >> /tmp/rec-events.log
cp /video/testing/resolution-change.mpg /video/_.mpg
echo end   /bin/bash   >> /tmp/rec-events.log

With a RecordingStarted event of /home/danielk/RecordingStarted.sh %CHANID% %STARTTIME%






More information about the mythtv-commits mailing list