If channel has automark download, still ignore shorts.
This commit is contained in:
parent
587c8e4976
commit
6f4765ca9b
1 changed files with 6 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue