Opened 11 years ago

Closed 10 years ago

#5955 closed defect (fixed)

Guide start channel not always correct

Reported by: wstewart@… Owned by: Shane Shrybman
Priority: minor Milestone: 0.22
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

If there are multiple channels with the same call sign, the guide will not necessary select the right channel to start the guide on.

Best explained by an example. Lets say there are channels 123 ABC 1167 ABC where ABC is the callsign and 123, 1167 are the channum.

If livetv is viewing 1167, then when the guide is started it will start on 123 instead. If there are no duplicates it starts on the right channel. The guide does in fact display both channels 123 and 1167, it just starts on the wrong one.

This due to the code in guidegrid.cpp, fillChannelInfos that handles duplicates. Then in FindChannel?, the inner loop of the first check will check the duplicates and thus return the index of 123 instead of 1167

I would suggest a patch, but I am not sure why this code is there to handle duplicates. This problem would seem to be related to [16882]. I recall this use to work fine.

Change History (2)

comment:1 Changed 10 years ago by Shane Shrybman

Milestone: unknown0.22
Owner: changed from Isaac Richards to Shane Shrybman
Status: newaccepted
Version: unknownhead

comment:2 Changed 10 years ago by shane

Resolution: fixed
Status: acceptedclosed

(In [20295]) Closes #5955 Search all chanids before searching in the duplicates.

Thanks to wstewart [] hgrace.com for the report and excellent analysis.

Note: See TracTickets for help on using tickets.