Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.32
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download


Question

How do I get the channel groups from the TV Server?

Answer

Simply use the following code:

using TvDatabase;
...
public static TvBusinessLayer layer = new TvBusinessLayer();
IList<channelgroup> tvGroups = ChannelGroup.ListAll();
IList<radiochannelgroup> radioGroups = RadioChannelGroup.ListAll();
IList<channel> channels = layer.GetChannelsInGroup(selectedGroup);
</channel></radiochannelgroup></channelgroup>

   

 

This page has no comments.