aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Channels/ChannelItemInfo.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-03 00:20:04 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-03 00:20:04 -0400
commit6936336b82467d3d8ea53af89bd5abcf7cdea678 (patch)
treef11a0cd9443193d60260088ca2220e5fb46fcea0 /MediaBrowser.Controller/Channels/ChannelItemInfo.cs
parent3228f50895d52afb97e985d8223ffc062a75c69a (diff)
add channels infrastructure
Diffstat (limited to 'MediaBrowser.Controller/Channels/ChannelItemInfo.cs')
-rw-r--r--MediaBrowser.Controller/Channels/ChannelItemInfo.cs23
1 files changed, 22 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Channels/ChannelItemInfo.cs b/MediaBrowser.Controller/Channels/ChannelItemInfo.cs
index 421d3e6f20..104204eb07 100644
--- a/MediaBrowser.Controller/Channels/ChannelItemInfo.cs
+++ b/MediaBrowser.Controller/Channels/ChannelItemInfo.cs
@@ -18,6 +18,7 @@ namespace MediaBrowser.Controller.Channels
public string Overview { get; set; }
public List<string> Genres { get; set; }
+ public List<string> Studios { get; set; }
public List<PersonInfo> People { get; set; }
@@ -38,9 +39,15 @@ namespace MediaBrowser.Controller.Channels
public DateTime? PremiereDate { get; set; }
public int? ProductionYear { get; set; }
+ public DateTime? DateCreated { get; set; }
+
+ public List<ChannelMediaInfo> MediaSources { get; set; }
+
public ChannelItemInfo()
{
+ MediaSources = new List<ChannelMediaInfo>();
Genres = new List<string>();
+ Studios = new List<string>();
People = new List<PersonInfo>();
ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
}
@@ -70,6 +77,20 @@ namespace MediaBrowser.Controller.Channels
Movie = 3,
- Episode = 4
+ Episode = 4,
+
+ Song = 5
+ }
+
+ public class ChannelMediaInfo
+ {
+ public string Path { get; set; }
+
+ public Dictionary<string, string> RequiredHttpHeaders { get; set; }
+
+ public ChannelMediaInfo()
+ {
+ RequiredHttpHeaders = new Dictionary<string, string>();
+ }
}
}