From 6f4765ca9b3c79ea30a094fdfd8c4b5f9b12ca96 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sun, 8 Mar 2026 17:54:54 -0700 Subject: [PATCH] If channel has automark download, still ignore shorts. --- ycdl/ycdldb.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ycdl/ycdldb.py b/ycdl/ycdldb.py index 97a629b..63fd1e9 100644 --- a/ycdl/ycdldb.py +++ b/ycdl/ycdldb.py @@ -359,6 +359,12 @@ class YCDLDBVideoMixin: video.id, video.live_broadcast, ) + # We are not setting the video to ignored, but we'll wait for + # the next refresh to see if this livestream has ended and + # download it then. + return status + if author.ignore_shorts and video.check_is_shorts(): + video.mark_state('ignored') return status # download_video contains a call to mark_state. self.download_video(video.id)