Site
Gitweb
Static
projects
/
hls-watch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bbb553
)
Cosmetic tweak
author
Jakob Cornell
<jakob@jcornell.net>
Sat, 4 Jan 2020 08:35:00 +0000
(
02:35
-0600)
committer
Jakob Cornell
<jakob@jcornell.net>
Sat, 4 Jan 2020 08:35:00 +0000
(
02:35
-0600)
hls_watch/__init__.py
patch
|
blob
|
history
diff --git
a/hls_watch/__init__.py
b/hls_watch/__init__.py
index 3b86061c84980fe2d3c567cad183ad6d414fdb5d..06ae9f6f6342bb34d8b59afe16f7b2e95ddbaca8 100644
(file)
--- a/
hls_watch/__init__.py
+++ b/
hls_watch/__init__.py
@@
-43,7
+43,7
@@
class Playlist(_Playlist):
[e] = [e for e in entries if isinstance(e, TargDur)]
targ_dur = e.seconds
- is_end =
any(isinstance(e, Endlist) for e in entries)
+ is_end =
Endlist() in entries
contents = [e for e in entries if isinstance(e, (Segment, Discont))]
return class_(media_start, targ_dur, is_end, contents)