[mythtv] Ticket #1211: Save last viewed input as default in cardinput
danielk at cuymedia.net
Wed May 31 23:21:28 UTC 2006
On Wed, 2006-05-31 at 19:02 -0400, Mark Buechler wrote:
> How would you suggest I proceed with this then? I don't know that
> other input cards really have a need for this functionality, or at
> least not as much as DVB especially for those of us who use rotors. I
> tried putting this code on the frontend (ala the first patch) but in
> many cases an important variable was null which broke saving the
> input. I've thought about an entry in settings to hold the last tuned
> chanid for each frontend but that bypasses the "Avoid conflicts
> between live TV and scheduled shows" code.
I think you just have to get the input as well when you get the
start channel, and use that in the initial tuning. If you make
sure the initial tuning event specifies the input I think this
will work. But you also should be saving the input on the master
capturecard, you should not be using "GetInputCardID" as that
will just change the input on the child card if you are tuned
to it, this won't be read in when you first tune the recorder.
genOpt.defaultinput should be set correctly initially so you
shouldn't need those tv_rec.cpp changes; if it isn't set correctly,
figure out why...
More information about the mythtv-dev