Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate browse channel list #989

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

kmdewaal
Copy link
Contributor

@kmdewaal kmdewaal commented Dec 7, 2024

When starting TV playback, either from a recording or live, a list of all channels is created that can be used to select another channel with the up/down keys while watching.
This channel list is created twice; as the name implies one for all channels and one for all visible channels. However, both lists are identical and contain all channels. The check on visible or not was already been done somewhere else in the code.
Therefore only one list with all channels is needed. Note that the time to create this list can be significant when there are a large number of channels. With satellites and especially with IPTV the number of channels can easily become very large, as in several thousands.

When starting TV playback, either from a recording or live, a list
of all channels is created that can be used to select another
channel with the up/down keys while watching.
This channel list is created twice; as the name implies one
for all channels and one for all visible channels.
However, both lists are identical and contain all channels.
The check on visible or not was already been done somewhere
else in the code.
Therefore only one list with all channels is needed.
Note that the time to create this list can be significant when
there are a large number of channels. With satellites and especially
with IPTV the number of channels can easily become very large,
as in several thousands.
@kmdewaal kmdewaal merged commit 4ac5407 into MythTV:master Dec 7, 2024
8 of 10 checks passed
@kmdewaal kmdewaal deleted the channelbrowselist branch December 7, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant