[mythtv] Patch to disable recordings
jhurliman at focustheater.com
Sat Aug 2 15:35:10 EDT 2003
To expand on this, I'm looking at patching MythTV to receive USR signals
to turn recording on/off, so other programs can safely use the tuner.
Then xawtv could be launched from a menu option for playing video games
or other real-time uses of the television from within Myth. I'm guessing
a check would have to be added to GetNumSetting(), I'll hold off for a
day or two in case anyone posts a better way to do this.
On Sat, 2003-08-02 at 14:04, Matt White wrote:
> Here's a quick patch for your consideration. It adds an option
> to the General TV Settings to disable recording.
> This being summer and all, I (and hopefully some of the rest
> of you) manage to get away from home to go out to the cabin
> or camping. I started thinking that it would be nice to be able
> to just grab my Myth box and take it along, since it's got music,
> recorded programs, videos, etc. all in one package, and a guy
> can't fish all day :-)
> Obviously, Myth won't be able to do recordings when it's not
> hooked up to a source (well, it will, but I've never been a fan
> of watching static). This disable recording option simply surpresses
> them (in exactly the same way that it surpresses recordings when
> it's low on disk space). That way, you don't get useless recordings,
> plus the shows aren't marked as being already recorded, so when
> you get back and plug it back in, they'll get recorded if they are
> shown again.
> There's only one part that I'm not quite happy about - I didn't want
> to do a GetNumSetting() every time through the scheduler loop, so
> it checks on startup, plus each time that it finds changes in the todo
> list. That means that when you disable recordings, it actually won't
> take effect until you either restart mythbackend, or make a change
> to your recording todo list. If anyone has a better idea on this, please
> let me know.
> Attached is a patch (cvs diff -uw) against CVS from 01/08/2003.
More information about the mythtv-dev