Opened 5 years ago

Last modified 5 years ago

#11917 new Bug Report - Hang/Deadlock

"Tune channel" field for capture cards leads to broken analog input sources

Reported by: martin_ginkel@… Owned by: danielk
Priority: minor Milestone: unknown
Component: MythTV - Mythtv-setup Version: 0.26-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Mythtv-Setup has a field on the capture card dialog, which allows to set a "tune-channel". This is a "channum" from the channel-table.

Inside the tuning-code for analog channels (didn't check the DVB), this channum string is passed to the Tune(QString) method which tries to tune to a channel identifier known in the current frequency tables.

This obviously fails, because a channel for the channum is not found in the list of registered frequencies for europe-west.

If this field is non-functional anyway, it should be removed from the GUI at least, I configured this rather by accident by navigating through the fields of mythtv-setup. But in effect this rendered the inputsource non-functional, if one switched to this input on LiveTV, Mythfrontend was dead and could only be killed.

Change History (1)

comment:1 in reply to:  description Changed 5 years ago by Raymond Wagner

Replying to martin_ginkel@…:

Mythtv-Setup has a field on the capture card dialog, which allows to set a "tune-channel". This is a "channum" from the channel-table.

Inside the tuning-code for analog channels (didn't check the DVB), this channum string is passed to the Tune(QString) method which tries to tune to a channel identifier known in the current frequency tables.

It sounds like you're confusing the tunechan and startchan fields. The startchan field is the spinbox, populated by channels defined in your database, and specifies the first channel that MythTV tries to access when opening LiveTV. The tunechan is the text edit box used to pre-tune an RF input when capturing from an external device with an external channel changer.

The field wants a physical channel number. Not a logical channum. Since there are (nearly) no consumer devices capable of outputting a DVB signal, there would never be any reason for a DVB input to have this option. Your verbiage seems to indicate that you are improperly using the tunechan field, and this is nothing but a configuration error.

Note: See TracTickets for help on using tickets.