aboutsummaryrefslogtreecommitdiff
path: root/Emby.Dlna/ContentDirectory/ControlHandler.cs
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-11-09 14:40:51 +0100
committerGitHub <noreply@github.com>2021-11-09 14:40:51 +0100
commitac06022e0f9d91771992b0c4981953db378ef50c (patch)
tree67d2d58c070c3c05f1090a54d5b078fe0673ae69 /Emby.Dlna/ContentDirectory/ControlHandler.cs
parenta236f52c312aeabe16ce876c0a21a66b02b8c128 (diff)
Update Emby.Dlna/ContentDirectory/ControlHandler.cs
Diffstat (limited to 'Emby.Dlna/ContentDirectory/ControlHandler.cs')
-rw-r--r--Emby.Dlna/ContentDirectory/ControlHandler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Dlna/ContentDirectory/ControlHandler.cs b/Emby.Dlna/ContentDirectory/ControlHandler.cs
index 2aa881e33..677ee90d7 100644
--- a/Emby.Dlna/ContentDirectory/ControlHandler.cs
+++ b/Emby.Dlna/ContentDirectory/ControlHandler.cs
@@ -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))