[mythtv] LiveTV start channel

R. G. Newbury newbury at mandamus.org
Tue Jan 19 14:27:26 UTC 2016


On 01/19/2016 05:40 AM, Stuart Auchterlonie wrote:
> On 18/01/16 23:42, John P Poet wrote:
>
>>
>> Thanks Geoffrey.  My patch does seem to work, but might not give you the
>> last channel you were on.  It does seem to always return a /valid/
>> channel, though.
>>
>
> I thought that when you exited livetv it would save the current channel
> back to the DB as the "startchan", so in theory this is correct.
>
> Also LVR's patch seems like a good solution too

I understood that it re-set 'startchan' on *entry* to LiveTV which is 
the source of the problem: if 'startchan' is bad, there is no internal 
way to get 'back'.

But in effect it doesn't matter whether it is on entry or exit. You 
either exit, or an error forces exit... In either case, it pokes 
'badchan' into 'startchan'.  And ummm,  hilarity ensues..

Thus my work-around to force tuning a usable channel. Not sure if the 
patch will work in all cases, such as trying a second bad channel after 
exiting a bad channel..

Geoff



              R. Geoffrey Newbury			
            Barrister and Solicitor
              954 Owenwood Drive
          Mississauga, Ontario, L5H 3J2

           t905-271-9600 f905-271-1638
              newbury at mandamus.org


More information about the mythtv-dev mailing list