[mythtv] Ticket #1211: Save last viewed input as default in cardinput

Mark Buechler mark.buechler at gmail.com
Thu Jun 1 01:16:53 UTC 2006


Thanks Daniel, I'll have a closer look at this.

- Mark.

On 5/31/06, Daniel Kristjansson <danielk at cuymedia.net> wrote:
>
> 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...
>
> -- Daniel
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20060531/0469c7ba/attachment.htm 


More information about the mythtv-dev mailing list