Check for chunkurl

This commit is contained in:
deathbybandaid 2020-11-28 11:35:11 -05:00
parent d732ef375d
commit e917ee59bb

View File

@ -103,7 +103,7 @@ class Direct_Stream():
for segment, key in zip(segments, keys): for segment, key in zip(segments, keys):
chunkurl = segment.absolute_uri chunkurl = segment.absolute_uri
if chunkurl not in played_chunk_urls: if chunkurl and chunkurl not in played_chunk_urls:
played_chunk_urls.append(chunkurl) played_chunk_urls.append(chunkurl)
if (not self.stream_args["duration"] == 0 and if (not self.stream_args["duration"] == 0 and