Fix channel length_seconds assignment

This commit is contained in:
Cadence Ember 2020-08-14 00:02:54 +12:00
parent 6c49edf3ae
commit 19beea8723
No known key found for this signature in database
GPG Key ID: 128B99B1B74A6412
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ class Second(object):
if "thumbnailOverlayTimeStatusRenderer" in o:
length_text = combine_runs(o["thumbnailOverlayTimeStatusRenderer"]["text"])
if o["thumbnailOverlayTimeStatusRenderer"]["style"] != "LIVE":
length_text_to_seconds(length_text)
length_seconds = length_text_to_seconds(length_text)
published = 0
published_text = "Live now"
if "publishedTimeText" in v: