xbmc/xbmc — pull request #1463 by avdleeuw (2012-09-22 11:30:11+00:00)
Title: [PVR] Changes to make PVR Groupmanager able to deal with groups again

I've opened ticket #13347 and also provided a fix for it.

This is the description that goes with the ticket:

I'm using the PVR Group manager and noticed the following issues:

Channel groups don't show names - Channels can't be moved to new groups
I've found the cause of this bug to be in the way the CFileItem is being used.

To display channel group names, GetGroupList in PVRChannelGroups should be changed to explicitly set the label to the groupname.

To be able to add ungrouped channels to a new group, the ActionButtonUngroupedChannels method should be changed. Instead of GetFileCount, GetFolderCount should be used.