Opened 16 years ago

Closed 16 years ago

Last modified 14 years ago

#28 closed defect (fixed)

Channel change in live TV doesn't switch card inputs

Reported by: dwilga@… Owned by: danielk
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


On June 28, I downloaded the current HEAD and used it to replace one which was about a month old. Now, when watching live TV, channel changing does not switch card inputs when needed.

I have a PVR-350 and a 250, both of which have satellite dish and cable TV inputs. If I try to tune to a channel which requires the other input, the screen goes blank for a second or two, but eventually comes back to the same channel. If I hit the "C" key on the keyboard to switch inputs first, I can then tune to the correct channel.

Channel changes on the same input work correctly. I haven't fully tested, but I think changes also work when automatically changing channels for a scheduled recording (I could be wrong on this.)

Attachments (1)

mythfrontend.log (5.1 KB) - added by pcjabber <pcjabber@…> 16 years ago.
log output from mythfrontend -v channel (see previous posts for details)

Download all attachments as: .zip

Change History (7)

comment:1 Changed 16 years ago by danielk

Owner: changed from Isaac Richards to danielk

I'll look at this since I'm working on TV and TVRec.

comment:2 Changed 16 years ago by pcjabber <pcjabber@…>

I just wanted to confirm that the same thing happens to me. I have 2 PVR-250s. Each have analog cable coming in thru the Coax connector, and one of them has the output from the Digital box coming in thru S-Vid. If I'm on either of the Coax inputs, Myth doesn't switch from the Coax to the S-Vid (it seems like it is trying to, but actually doesn't, as reported above.)

I'd also like to confirm that scheduled recordings seem to work fine. I record things on my analog cable every day, and my digital cable at least a couple of times a week, and Myth will switch the input automatically.

comment:3 Changed 16 years ago by jdonavan

Runing mythfrontend with -v channel and attaching it would give as idea of where things are breaking...

comment:4 Changed 16 years ago by pcjabber <pcjabber@…>

OK, I will do this when I get home and attach the log here.

comment:5 Changed 16 years ago by pcjabber <pcjabber@…>

The log will be attached in a post following this one. I couldn't figure out a way to make the logfile grab all of the output (there must be more than STDOUT and STDERR in this output) with any of 3 methods: mythfrontend -v channel > mythfrontend.log mythfrontend -v channel > mythfrontend.log 2>&1 mythfrontend -v channel -l mythfrontend.log

None of those worked, so I copy-pasted the output from puTTY into a text document.

My digital cable (s-vid input) is on card /dev/video1 (which also has analog cable attached), and the analog-only card is /dev/video0. I changed channels a few times on the analog card, then went to GUIDE-> ch 229 (you'll see it in the error message), got the error, then switched to another analog channel (Myth put me back on ch 07, where I was before the switch to 229, and then I changed to ch 05)

Hope this helps!

Changed 16 years ago by pcjabber <pcjabber@…>

Attachment: mythfrontend.log added

log output from mythfrontend -v channel (see previous posts for details)

comment:6 Changed 16 years ago by danielk

Resolution: fixed
Status: newclosed

(In [7176]) Fixes #28.

When TVRec::CheckChannel?() returns an input name, we need to call SwitchToInput?() before checking for the channel on the current input, not after...

Note: See TracTickets for help on using tickets.