diff options
author | ksooo <3226626+ksooo@users.noreply.github.com> | 2023-10-21 11:45:08 +0200 |
---|---|---|
committer | ksooo <3226626+ksooo@users.noreply.github.com> | 2023-10-21 13:25:04 +0200 |
commit | 55d09579e28bf0a8de04b2a7442ec1d0279907bb (patch) | |
tree | c36dd404a8d69af2e79ef58ecb0b0b95d6ce819b | |
parent | 4c60ce3c17322e6a566f47e4769763f7b063437f (diff) |
[PVR] Fix CPVRGUIActionsChannels::GetSelectedChannelPath to respect the currently active channel group.
-rw-r--r-- | xbmc/pvr/guilib/PVRGUIActionsChannels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/pvr/guilib/PVRGUIActionsChannels.cpp b/xbmc/pvr/guilib/PVRGUIActionsChannels.cpp index fe1b652273..86dfc0516b 100644 --- a/xbmc/pvr/guilib/PVRGUIActionsChannels.cpp +++ b/xbmc/pvr/guilib/PVRGUIActionsChannels.cpp @@ -428,7 +428,7 @@ std::string CPVRGUIActionsChannels::GetSelectedChannelPath(bool bRadio) const const std::shared_ptr<CPVRChannelGroupMember> playingChannel = mgr.PlaybackState()->GetPlayingChannelGroupMember(); if (playingChannel && playingChannel->IsRadio() == bRadio) - return playingChannel->Path(); + return GetChannelGroupMember(playingChannel->Channel())->Path(); const std::shared_ptr<CPVREpgInfoTag> playingTag = mgr.PlaybackState()->GetPlayingEpgTag(); if (playingTag && playingTag->IsRadio() == bRadio) |