aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/pvr/channels/PVRChannelGroup.h6
-rw-r--r--xbmc/pvr/channels/PVRChannelGroups.cpp1
2 files changed, 7 insertions, 0 deletions
diff --git a/xbmc/pvr/channels/PVRChannelGroup.h b/xbmc/pvr/channels/PVRChannelGroup.h
index 3a08c8bcbe..8ff215243e 100644
--- a/xbmc/pvr/channels/PVRChannelGroup.h
+++ b/xbmc/pvr/channels/PVRChannelGroup.h
@@ -204,6 +204,12 @@ namespace PVR
bool IsRadio(void) const { return m_bRadio; }
/*!
+ * @brief Set 'radio' property of this group.
+ * @param bIsRadio The new value for the 'radio' property.
+ */
+ void SetRadio(bool bIsRadio) { m_bRadio = bIsRadio; }
+
+ /*!
* @brief True if sorting should be prevented when adding/updating channels to the group.
* @return True if sorting should be prevented when adding/updating channels to the group.
*/
diff --git a/xbmc/pvr/channels/PVRChannelGroups.cpp b/xbmc/pvr/channels/PVRChannelGroups.cpp
index d6dfeaaee3..a6e772346d 100644
--- a/xbmc/pvr/channels/PVRChannelGroups.cpp
+++ b/xbmc/pvr/channels/PVRChannelGroups.cpp
@@ -82,6 +82,7 @@ bool CPVRChannelGroups::Update(const CPVRChannelGroup &group, bool bUpdateFromCl
m_groups.push_back(updateGroup);
}
+ updateGroup->SetRadio(group.IsRadio());
updateGroup->SetGroupID(group.GroupID());
updateGroup->SetGroupName(group.GroupName());
updateGroup->SetGroupType(group.GroupType());