mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
Merge pull request #1876 from softworkz/ChannelItemUpdate
At least update names of container folders (originating from a Channel)
This commit is contained in:
commit
0181dd5a33
1 changed files with 7 additions and 13 deletions
|
@ -1320,20 +1320,14 @@ namespace MediaBrowser.Server.Implementations.Channels
|
||||||
item.Tags = info.Tags;
|
item.Tags = info.Tags;
|
||||||
item.HomePageUrl = info.HomePageUrl;
|
item.HomePageUrl = info.HomePageUrl;
|
||||||
}
|
}
|
||||||
else
|
else if (info.Type == ChannelItemType.Folder && info.FolderType == ChannelFolderType.Container)
|
||||||
{
|
{
|
||||||
// Can't do this right now due to channels that utilize the server's metadata services
|
// At least update names of container folders
|
||||||
//if (item.Name != info.Name)
|
if (item.Name != info.Name)
|
||||||
//{
|
{
|
||||||
// item.Name = info.Name;
|
item.Name = info.Name;
|
||||||
// forceUpdate = true;
|
forceUpdate = true;
|
||||||
//}
|
}
|
||||||
|
|
||||||
//if (item.CommunityRating != info.CommunityRating)
|
|
||||||
//{
|
|
||||||
// item.CommunityRating = info.CommunityRating;
|
|
||||||
// forceUpdate = true;
|
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var hasArtists = item as IHasArtist;
|
var hasArtists = item as IHasArtist;
|
||||||
|
|
Loading…
Reference in a new issue