Merge pull request #573 from oddstr13/fix-directplay-1

Fix direct play when direct stream isn't allowed.
This commit is contained in:
mcarlton00 2021-10-01 16:41:01 -04:00 committed by GitHub
commit a18ca8ab9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,7 +198,7 @@ class PlayUtils(object):
LOG.info("--[ direct play ]") LOG.info("--[ direct play ]")
self.direct_play(source) self.direct_play(source)
elif source['SupportsDirectStream']: elif source['SupportsDirectStream'] or source['SupportsDirectPlay']:
LOG.info("--[ direct stream ]") LOG.info("--[ direct stream ]")
self.direct_url(source) self.direct_url(source)