From a8c5773f816ea3cdf53b4f530a50650cd3abb556 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 5 Oct 2022 16:12:58 +0200 Subject: [PATCH] fix is_live status check before adding to queue --- tubearchivist/home/src/download/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubearchivist/home/src/download/queue.py b/tubearchivist/home/src/download/queue.py index f1f4ac2f..13bd49be 100644 --- a/tubearchivist/home/src/download/queue.py +++ b/tubearchivist/home/src/download/queue.py @@ -246,7 +246,7 @@ class PendingList(PendingIndex): print(f"{youtube_id}: skipping premium video, id not matching") return False # stop if video is streaming live now - if vid["is_live"]: + if vid["live_status"] in ["is_upcoming", "is_live"]: return False return self._parse_youtube_details(vid)