Merge pull request #1096 from mcarlton00/livetvplayback

Don't assume Path always exists in playback objects
This commit is contained in:
Odd Stråbø 2026-02-11 00:20:28 +01:00 committed by GitHub
commit 81297bd18c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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