Check for chunkurl
This commit is contained in:
parent
d732ef375d
commit
e917ee59bb
@ -103,7 +103,7 @@ class Direct_Stream():
|
||||
for segment, key in zip(segments, keys):
|
||||
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)
|
||||
|
||||
if (not self.stream_args["duration"] == 0 and
|
||||
|
||||
Loading…
Reference in New Issue
Block a user