mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2026-04-27 14:00:34 +00:00
Merge pull request #1096 from mcarlton00/livetvplayback
Don't assume Path always exists in playback objects
This commit is contained in:
commit
81297bd18c
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ class PlayUtils(object):
|
|||
|
||||
def is_strm(self, source):
|
||||
|
||||
if source.get("Container") == "strm" or self.item["Path"].endswith(".strm"):
|
||||
if source.get("Container") == "strm" or self.item.get("Path", "").endswith(".strm"):
|
||||
LOG.info("strm detected")
|
||||
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue