Merge pull request #714 from tcely/patch-2

We can filter before metadata
This commit is contained in:
meeb 2025-02-13 01:40:57 +11:00 committed by GitHub
commit 5b88a3147b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -137,7 +137,7 @@ def media_post_save(sender, instance, created, **kwargs):
can_download_changed = False
# Reset the skip flag if the download cap has changed if the media has not
# already been downloaded
if not instance.downloaded and instance.metadata:
if not instance.downloaded:
skip_changed = filter_media(instance)
# Recalculate the "can_download" flag, this may