Fix direct play when direct stream isn't allowed.

This commit is contained in:
Odd Stråbø 2021-09-29 22:05:42 +02:00
parent cf5aabe779
commit 03d13e3f77

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)