From 57191e6891274effeafd2e26d51898f73a208c7b Mon Sep 17 00:00:00 2001 From: Alhaziel01 Date: Mon, 31 May 2021 18:12:32 +0200 Subject: [PATCH] ops --- platformcode/platformtools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformcode/platformtools.py b/platformcode/platformtools.py index 2e6d2e73..b8d37dd1 100644 --- a/platformcode/platformtools.py +++ b/platformcode/platformtools.py @@ -1002,7 +1002,7 @@ def play_video(item, strm=False, force_direct=False, autoplay=False): # if it is a video in mpd format, the listitem is configured to play it ith the inpustreamaddon addon implemented in Kodi 17 # from core.support import dbg;dbg() - if item.manifest == 'hls' or mediaurl .endswith('m3u8'): + if item.manifest == 'hls' or mediaurl.endswith('m3u8'): if not install_inputstream(): return xlistitem.setProperty('inputstream' if PY3 else 'inputstreamaddon', 'inputstream.adaptive')