Update Emby.Dlna/ContentDirectory/ControlHandler.cs

pull/6808/head
Claus Vium 3 years ago committed by GitHub
parent a236f52c31
commit ac06022e0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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))

Loading…
Cancel
Save