diff options
author | xhaggi <sascha.woo@gmail.com> | 2014-11-27 18:26:23 +0100 |
---|---|---|
committer | xhaggi <sascha.woo@gmail.com> | 2014-11-27 18:26:23 +0100 |
commit | 49c569525f4051dd9cecfd421b55c53784674470 (patch) | |
tree | dc35d25a560e188e3ab706ecdcc50369e6dec619 | |
parent | 488627a37a0ce3361b2effff658619edb7e33a7c (diff) |
[pvr] fix creation of an illegal group path in GetGroupList()
-rw-r--r-- | xbmc/pvr/channels/PVRChannelGroups.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/pvr/channels/PVRChannelGroups.cpp b/xbmc/pvr/channels/PVRChannelGroups.cpp index 8d0388044a..98a186ab5d 100644 --- a/xbmc/pvr/channels/PVRChannelGroups.cpp +++ b/xbmc/pvr/channels/PVRChannelGroups.cpp @@ -368,7 +368,7 @@ int CPVRChannelGroups::GetGroupList(CFileItemList* results) const std::string strPath; for (std::vector<CPVRChannelGroupPtr>::const_iterator it = m_groups.begin(); it != m_groups.end(); it++) { - strPath = StringUtils::Format("channels/%s/%i", m_bRadio ? "radio" : "tv", (*it)->GroupID()); + strPath = StringUtils::Format("pvr://channels/%s/%s/", m_bRadio ? "radio" : "tv", (*it)->GroupName().c_str()); CFileItemPtr group(new CFileItem(strPath, true)); group->m_strTitle = (*it)->GroupName(); group->SetLabel((*it)->GroupName()); |