Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#540 closed defect (fixed)

Mythtv doesn't change tuners while watching livetv.

Reported by: anonymous Owned by: danielk
Priority: minor Milestone: 0.19
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


I'm using a two week old svn, *been using 0.18 before) and cant seem to understand why mythtv cannot change the tuner when a channel is selected in livetv mode. Untill I press the change tuner button *y) I cannot access any of the other channels. I ran through the code, but I'm not really experienced in c, so i can't really help in this. But i noticed parts in the code that seemed to provide this type of functionality. I thing alot of people are using this functionallity as pvr cards and dvb cards are not incommon. One more thing... *maybe this should go into a sep. ticket) .. While using dvb i noticed that around 60% of the times i try to change tuners, it does'nt pick up a signal and quits *signal lock is ok..), usualy if i press change tuners again, it correctly picks up the signal. I'll try to include some logs here if you guys think it may help.

Change History (5)

comment:1 Changed 15 years ago by danielk

Owner: changed from Isaac Richards to danielk

Did you try entering in a channel on a different tuner?

Channels from other tuners do no show up in the browsing OSD, but I tested this just a few days ago and it worked for me.

Also try with the latest SVN if entering the channel on your remote/keyboard doesn't work.

comment:2 Changed 15 years ago by danielk

Resolution: fixed
Status: newclosed

(In [7636]) Fixes #540. channelqueued was not always being set and the support for to switching tuners while changing channels wasn't very DTV friendly either.

I cleaned up the channel keys input stuff, which means no more channelqueued variable. Also the channel input didn't work properly between tuners if you had smart keys enabled. This was because the channel entry is cleared once you enter a channel prefix not corresponding to a channel on the current tuner. I added a check for whether the queued channel is on the current tuner, if it is not we use the entire queued input. This is the same queue we were using for teletext switching and arbitrary jump.

FYI In order to jump immediately to a channel not on the current tuner, you do need to hit select even if smart keys is enabled.

Also for better DTV friendlyness I changed the channel on the new tuner a bit. Instead of changing to a new tuner, then changing the channel, the code now simply verifies that the channel is valid for that tuner and if it is sets it as the starting channel. This way we don't go through the rigmoral of getting a lock on one channel only to change to another one a second or two later.

comment:3 Changed 15 years ago by anonymous

Great work!

comment:4 Changed 15 years ago by danielk

(In [7720]) Fixes #540.

The patch was not complete, it did not address chanid caching, so it wouldn't work as is. But fixing this wasn't difficult..

comment:5 Changed 15 years ago by danielk

Oops, [7720] Fixes #580, not #540...

Note: See TracTickets for help on using tickets.