mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 14:03:03 +03:00
added more direct querying to folder
This commit is contained in:
@@ -354,8 +354,7 @@ namespace MediaBrowser.Server.Implementations.Dto
|
||||
if (!string.IsNullOrEmpty(item.Album))
|
||||
{
|
||||
var parentAlbum = _libraryManager.RootFolder
|
||||
.RecursiveChildren
|
||||
.OfType<MusicAlbum>()
|
||||
.GetRecursiveChildren(i => i is MusicAlbum)
|
||||
.FirstOrDefault(i => string.Equals(i.Name, item.Album, StringComparison.OrdinalIgnoreCase));
|
||||
|
||||
if (parentAlbum != null)
|
||||
|
||||
Reference in New Issue
Block a user