mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2026-04-27 22:05:38 +00:00
fix: strm file with local file path fails to play
This commit is contained in:
parent
cee3ef3a95
commit
1523955ecc
1 changed files with 6 additions and 6 deletions
|
|
@ -194,17 +194,17 @@ class PlayUtils(object):
|
|||
if (
|
||||
source.get("Protocol") == "Http"
|
||||
or source["SupportsDirectPlay"]
|
||||
and (
|
||||
self.is_strm(source)
|
||||
or not settings("playFromStream.bool")
|
||||
and self.is_file_exists(source)
|
||||
)
|
||||
and (not settings("playFromStream.bool") and self.is_file_exists(source))
|
||||
):
|
||||
|
||||
LOG.info("--[ direct play ]")
|
||||
self.direct_play(source)
|
||||
|
||||
elif source["SupportsDirectStream"] or source["SupportsDirectPlay"]:
|
||||
elif (
|
||||
self.is_strm(source)
|
||||
or source["SupportsDirectStream"]
|
||||
or source["SupportsDirectPlay"]
|
||||
):
|
||||
|
||||
LOG.info("--[ direct stream ]")
|
||||
self.direct_url(source)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue