mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-23 14:10:40 +02:00
ChannelManager: Update Name and CommunityRating values when changed
This commit is contained in:
parent
461e9b2cdd
commit
71f8588b3a
|
@ -1313,6 +1313,20 @@ namespace MediaBrowser.Server.Implementations.Channels
|
||||||
item.Tags = info.Tags;
|
item.Tags = info.Tags;
|
||||||
item.HomePageUrl = info.HomePageUrl;
|
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;
|
var hasArtists = item as IHasArtist;
|
||||||
if (hasArtists != null)
|
if (hasArtists != null)
|
||||||
|
|
Loading…
Reference in a new issue