diff options
author | Kai Sommerfeld <3226626+ksooo@users.noreply.github.com> | 2024-07-27 22:32:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-27 22:32:51 +0200 |
commit | 830cb39395e572d96a61db5c13510da45f256cd3 (patch) | |
tree | 2fa6b92f563baebe078be99d981a6795f9730163 | |
parent | 4ce31a772b4837bc2da85286122066bc1dae8aac (diff) | |
parent | f484c03e28e8212b1e480a1df7ca847a487fa3c2 (diff) |
Merge pull request #25550 from ksooo/pvr-fix-groupmanager-ungrouped-channels-omega
[PVR] Group Manager: Do not show hidden channels in list of ungrouped…
-rw-r--r-- | xbmc/pvr/channels/PVRChannelGroups.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/pvr/channels/PVRChannelGroups.cpp b/xbmc/pvr/channels/PVRChannelGroups.cpp index f692e19110..0ba339ef4a 100644 --- a/xbmc/pvr/channels/PVRChannelGroups.cpp +++ b/xbmc/pvr/channels/PVRChannelGroups.cpp @@ -261,7 +261,8 @@ std::vector<std::shared_ptr<CPVRChannelGroupMember>> CPVRChannelGroups::GetMembe const auto allGroupMembers = GetGroupAll()->GetMembers(); for (const auto& groupMember : allGroupMembers) { - if (!group->IsGroupMember(groupMember)) + if (!group->IsGroupMember(groupMember) && + (group->IsChannelsOwner() || !groupMember->Channel()->IsHidden())) result.emplace_back(groupMember); } } |