Skip to content

The Free Software Media System - Server Backend & API

Fix direct play for DirectPlayProfiles without any codecs set

Maxr199865a9a4771afc
diff --git a/MediaBrowser.Model/Dlna/ContainerProfile.cs b/MediaBrowser.Model/Dlna/ContainerProfile.cs
index c66ec8bc37..b059e43f3d 100644
--- a/MediaBrowser.Model/Dlna/ContainerProfile.cs
+++ b/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);