From 71f8588b3abded917ac4f1ba753bf8a2d60df306 Mon Sep 17 00:00:00 2001 From: softworkz Date: Wed, 22 Jun 2016 23:23:50 +0200 Subject: [PATCH] ChannelManager: Update Name and CommunityRating values when changed --- .../Channels/ChannelManager.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/MediaBrowser.Server.Implementations/Channels/ChannelManager.cs b/MediaBrowser.Server.Implementations/Channels/ChannelManager.cs index aac5ddcaf..41b4eb82c 100644 --- a/MediaBrowser.Server.Implementations/Channels/ChannelManager.cs +++ b/MediaBrowser.Server.Implementations/Channels/ChannelManager.cs @@ -1313,6 +1313,20 @@ namespace MediaBrowser.Server.Implementations.Channels item.Tags = info.Tags; item.HomePageUrl = info.HomePageUrl; } + else + { + if (item.Name != info.Name) + { + item.Name = info.Name; + forceUpdate = true; + } + + if (item.CommunityRating != info.CommunityRating) + { + item.CommunityRating = info.CommunityRating; + forceUpdate = true; + } + } var hasArtists = item as IHasArtist; if (hasArtists != null)