aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Sommerfeld <3226626+ksooo@users.noreply.github.com>2024-07-27 22:32:51 +0200
committerGitHub <noreply@github.com>2024-07-27 22:32:51 +0200
commit830cb39395e572d96a61db5c13510da45f256cd3 (patch)
tree2fa6b92f563baebe078be99d981a6795f9730163
parent4ce31a772b4837bc2da85286122066bc1dae8aac (diff)
parentf484c03e28e8212b1e480a1df7ca847a487fa3c2 (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.cpp3
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);
}
}