mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-22 13:06:34 +00:00
Merge pull request #714 from tcely/patch-2
We can filter before metadata
This commit is contained in:
commit
5b88a3147b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user