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

Fix direct play for DirectPlayProfiles without any codecs set
This commit is contained in:
Bond-009
2021-05-05 13:28:51 +02:00
committed by GitHub

View File

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