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
commit 18d799b22a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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