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
Conversation
@@ -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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
91c4e78
to
a9feab4
Compare
@Jalle19 cleaned up the mess. Should be more readable now (speaking not about the diff, but the code ;-) |
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?