diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-17 21:45:41 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-17 21:45:41 -0400 |
| commit | 53749f077bedc84323ac13694c7f0963a65d1f06 (patch) | |
| tree | e00d218e8aa240eb1e33e24f331dcf1815036781 /MediaBrowser.Controller/Channels/ChannelItemInfo.cs | |
| parent | 3d70929708b9ea61bc1ee6a4953dd206ea50e60d (diff) | |
progress on channels api
Diffstat (limited to 'MediaBrowser.Controller/Channels/ChannelItemInfo.cs')
| -rw-r--r-- | MediaBrowser.Controller/Channels/ChannelItemInfo.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Channels/ChannelItemInfo.cs b/MediaBrowser.Controller/Channels/ChannelItemInfo.cs index 496fbfbf4..f80ad8911 100644 --- a/MediaBrowser.Controller/Channels/ChannelItemInfo.cs +++ b/MediaBrowser.Controller/Channels/ChannelItemInfo.cs @@ -1,9 +1,11 @@ using MediaBrowser.Controller.Entities; +using MediaBrowser.Model.Entities; +using System; using System.Collections.Generic; namespace MediaBrowser.Controller.Channels { - public class ChannelItemInfo + public class ChannelItemInfo : IHasProviderIds { public string Name { get; set; } @@ -23,18 +25,21 @@ namespace MediaBrowser.Controller.Channels public long? RunTimeTicks { get; set; } - public bool IsInfinite { get; set; } + public bool IsInfiniteStream { get; set; } public string ImageUrl { get; set; } public ChannelMediaType MediaType { get; set; } public ChannelMediaContentType ContentType { get; set; } + + public Dictionary<string, string> ProviderIds { get; set; } public ChannelItemInfo() { Genres = new List<string>(); People = new List<PersonInfo>(); + ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); } } |
