diff options
author | methodus <methodus@web.de> | 2013-01-03 08:23:02 +0100 |
---|---|---|
committer | methodus <methodus@web.de> | 2013-01-03 08:23:02 +0100 |
commit | 144b098a1a24d2cc6664513e6951e1215c0b3acb (patch) | |
tree | bbc81ae30f174c7e59db3c04802826acc1d10ed4 /plugins/provider | |
parent | 0c1c7fe86992a030ed6e72a74b1e16607c4516a2 (diff) | |
download | vdr-plugin-upnp-144b098a1a24d2cc6664513e6951e1215c0b3acb.tar.gz vdr-plugin-upnp-144b098a1a24d2cc6664513e6951e1215c0b3acb.tar.bz2 |
Added channel group to channel item properties (genre) to use that for filtering and sorting in Windows Media Player 12, which is absolutely unaware of folders.
Diffstat (limited to 'plugins/provider')
-rw-r--r-- | plugins/provider/vdrProvider/vdrProvider.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins/provider/vdrProvider/vdrProvider.cpp b/plugins/provider/vdrProvider/vdrProvider.cpp index 6ab3d27..4f7276a 100644 --- a/plugins/provider/vdrProvider/vdrProvider.cpp +++ b/plugins/provider/vdrProvider/vdrProvider.cpp @@ -49,17 +49,6 @@ private: return group ? Idx : -1; } - int GetGroupByChannel(const cChannel* channel) - { - if(!channel) return -1; - int Idx = -1; - cChannel* group = Channels.Get(++Idx); - while(group && !(group->GroupSep() && group->Number() > channel->Number())) - group = Channels.Get(++Idx); - return group ? Idx : -1; - - } - string GetContainerName(string uri){ return uri.substr(6,uri.size()-7); } |