Update Emby.Dlna/ContentDirectory/ControlHandler.cs

This commit is contained in:
Claus Vium 2021-11-09 14:40:51 +01:00 committed by GitHub
parent a236f52c31
commit ac06022e0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -590,7 +590,7 @@ namespace Emby.Dlna.ContentDirectory
return GetGenreItems(item, user, sort, startIndex, limit);
}
if (stubType is not StubType.Folder && item is IHasCollectionType collectionFolder)
if (stubType != StubType.Folder && item is IHasCollectionType collectionFolder)
{
var collectionType = collectionFolder.CollectionType;
if (string.Equals(CollectionType.Music, collectionType, StringComparison.OrdinalIgnoreCase))