mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-30 03:13:17 +01:00
update active recordings
This commit is contained in:
@@ -42,12 +42,9 @@ namespace MediaBrowser.Providers.Playlists
|
||||
{
|
||||
if (!item.IsLocked && !item.LockedFields.Contains(MetadataFields.Genres))
|
||||
{
|
||||
var items = item.GetLinkedChildren()
|
||||
.ToList();
|
||||
var currentList = item.Genres;
|
||||
|
||||
var currentList = item.Genres.ToList();
|
||||
|
||||
item.Genres = items.SelectMany(i => i.Genres)
|
||||
item.Genres = item.GetLinkedChildren().SelectMany(i => i.Genres)
|
||||
.Distinct(StringComparer.OrdinalIgnoreCase)
|
||||
.ToList();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user