The Free Software Media System - Server Backend & API
added channel properties
Luke Pulverenti3d2f6db1b117
diff --git a/MediaBrowser.Controller/Channels/ChannelItemInfo.cs b/MediaBrowser.Controller/Channels/ChannelItemInfo.csindex 6135240e91..57c2f1f7fd 100644--- a/MediaBrowser.Controller/Channels/ChannelItemInfo.cs+++ b/MediaBrowser.Controller/Channels/ChannelItemInfo.cs@@ -55,6 +55,10 @@ namespace MediaBrowser.Controller.Channelspublic string HomePageUrl { get; set; }+ public List<string> Artists { get; set; }++ public List<string> AlbumArtists { get; set; }+public ChannelItemInfo(){MediaSources = new List<ChannelMediaInfo>();@@ -64,6 +68,8 @@ namespace MediaBrowser.Controller.ChannelsPeople = new List<PersonInfo>();Tags = new List<string>();ProviderIds = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);+ Artists = new List<string>();+ AlbumArtists = new List<string>();}}}diff --git a/MediaBrowser.Server.Implementations/Channels/ChannelManager.cs b/MediaBrowser.Server.Implementations/Channels/ChannelManager.csindex e768c90996..faca936d37 100644--- a/MediaBrowser.Server.Implementations/Channels/ChannelManager.cs+++ b/MediaBrowser.Server.Implementations/Channels/ChannelManager.cs@@ -1310,6 +1310,18 @@ namespace MediaBrowser.Server.Implementations.Channelsitem.HomePageUrl = info.HomePageUrl;}+ var hasArtists = item as IHasArtist;+ if (hasArtists != null)+ {+ hasArtists.Artists = info.Artists;+ }++ var hasAlbumArtists = item as IHasAlbumArtist;+ if (hasAlbumArtists != null)+ {+ hasAlbumArtists.AlbumArtists = info.AlbumArtists;+ }+var trailer = item as Trailer;if (trailer != null){diff --git a/Nuget/MediaBrowser.Common.Internal.nuspec b/Nuget/MediaBrowser.Common.Internal.nuspecindex a8ef269322..506bc4e369 100644--- a/Nuget/MediaBrowser.Common.Internal.nuspec+++ b/Nuget/MediaBrowser.Common.Internal.nuspec@@ -2,7 +2,7 @@<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"><metadata><id>MediaBrowser.Common.Internal</id>- <version>3.0.650</version>+ <version>3.0.651</version><title>MediaBrowser.Common.Internal</title><authors>Luke</authors><owners>ebr,Luke,scottisafool</owners>@@ -12,7 +12,7 @@<description>Contains common components shared by Emby Theater and Emby Server. Not intended for plugin developer consumption.</description><copyright>Copyright © Emby 2013</copyright><dependencies>- <dependency id="MediaBrowser.Common" version="3.0.650" />+ <dependency id="MediaBrowser.Common" version="3.0.651" /><dependency id="NLog" version="4.3.4" /><dependency id="SimpleInjector" version="3.1.5" /></dependencies>diff --git a/Nuget/MediaBrowser.Common.nuspec b/Nuget/MediaBrowser.Common.nuspecindex 2bf899ad60..07bf6faa70 100644--- a/Nuget/MediaBrowser.Common.nuspec+++ b/Nuget/MediaBrowser.Common.nuspec@@ -2,7 +2,7 @@<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"><metadata><id>MediaBrowser.Common</id>- <version>3.0.650</version>+ <version>3.0.651</version><title>MediaBrowser.Common</title><authors>Emby Team</authors><owners>ebr,Luke,scottisafool</owners>diff --git a/Nuget/MediaBrowser.Server.Core.nuspec b/Nuget/MediaBrowser.Server.Core.nuspecindex 3fdeeaf538..c2616798ef 100644--- a/Nuget/MediaBrowser.Server.Core.nuspec+++ b/Nuget/MediaBrowser.Server.Core.nuspec@@ -2,7 +2,7 @@<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"><metadata><id>MediaBrowser.Server.Core</id>- <version>3.0.650</version>+ <version>3.0.651</version><title>Media Browser.Server.Core</title><authors>Emby Team</authors><owners>ebr,Luke,scottisafool</owners>