Browse Source

Merge pull request #5980 from Maxr1998/fix-direct-play

Fix direct play for DirectPlayProfiles without any codecs set
Bond-009 4 years ago
parent
commit
18d799b22a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      MediaBrowser.Model/Dlna/ContainerProfile.cs

+ 2 - 1
MediaBrowser.Model/Dlna/ContainerProfile.cs

@@ -55,7 +55,8 @@ namespace MediaBrowser.Model.Dlna
         {
             if (profileContainers == null || profileContainers.Length == 0)
             {
-                return isNegativeList;
+                // Empty profiles always support all containers/codecs
+                return true;
             }
 
             var allInputContainers = SplitValue(inputContainer);