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

[PVR] Fixes for hidden channels #14329

Merged
merged 2 commits into from Aug 21, 2018
Merged

Conversation

ksooo
Copy link
Member

@ksooo ksooo commented Aug 20, 2018

Fixes two small issues with hidden channels, reported in the forum: https://forum.kodi.tv/showthread.php?tid=333402

Runtime tested on macOS, latest Kodi master.

@Jalle19 if you are around, mind taking a look?

@ksooo ksooo added Type: Fix non-breaking change which fixes an issue Component: PVR v18 Leia labels Aug 20, 2018
@ksooo ksooo added this to the Leia 18.0-beta1 milestone Aug 20, 2018
@ksooo ksooo requested a review from Jalle19 August 20, 2018 10:17
@@ -498,9 +498,10 @@ int CPVRChannelGroup::GetMembers(CFileItemList &results, bool bGroupMembers /* =

for (PVR_CHANNEL_GROUP_SORTED_MEMBERS::const_iterator it = channels->m_sortedMembers.begin(); it != channels->m_sortedMembers.end(); ++it)
{
if (bGroupMembers || !IsGroupMember((*it).channel))
const CPVRChannelPtr channel = (*it).channel;

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

@@ -498,9 +498,10 @@ int CPVRChannelGroup::GetMembers(CFileItemList &results, bool bGroupMembers /* =

for (PVR_CHANNEL_GROUP_SORTED_MEMBERS::const_iterator it = channels->m_sortedMembers.begin(); it != channels->m_sortedMembers.end(); ++it)
{
if (bGroupMembers || !IsGroupMember((*it).channel))
const CPVRChannelPtr channel = (*it).channel;
if (bGroupMembers != channel->IsHidden() || !IsGroupMember(channel))

This comment was marked as spam.

This comment was marked as spam.

@ksooo
Copy link
Member Author

ksooo commented Aug 20, 2018

@Jalle19 cleaned up the mess. Should be more readable now (speaking not about the diff, but the code ;-)

@ksooo ksooo merged commit e49c327 into xbmc:master Aug 21, 2018
@ksooo ksooo deleted the pvr-fix-hidden-channels branch August 21, 2018 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: PVR Type: Fix non-breaking change which fixes an issue v18 Leia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants