Modify

Ticket #5955 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Guide start channel not always correct

Reported by: wstewart@… Owned by: gnome42
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.

Attachments

Change History

comment:1 Changed 3 years ago by gnome42

  • Owner changed from ijr to gnome42
  • Status changed from new to accepted
  • Version changed from unknown to head
  • Milestone changed from unknown to 0.22

comment:2 Changed 3 years ago by shane

  • Status changed from accepted to closed
  • Resolution set to fixed

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

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

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.