From 246e2a31873ce6ec45258db37d804fbb3d494523 Mon Sep 17 00:00:00 2001 From: meeb Date: Mon, 26 Feb 2024 16:44:38 +1100 Subject: [PATCH] revert skip metadata if already skipped change, related to #293 --- tubesync/sync/signals.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tubesync/sync/signals.py b/tubesync/sync/signals.py index e819c8a..b9f8835 100644 --- a/tubesync/sync/signals.py +++ b/tubesync/sync/signals.py @@ -172,7 +172,7 @@ def media_post_save(sender, instance, created, **kwargs): instance.save() post_save.connect(media_post_save, sender=Media) # If the media is missing metadata schedule it to be downloaded - if not instance.metadata and not instance.skip: + if not instance.metadata: log.info(f'Scheduling task to download metadata for: {instance.url}') verbose_name = _('Downloading metadata for "{}"') download_media_metadata( @@ -184,7 +184,7 @@ def media_post_save(sender, instance, created, **kwargs): # If the media is missing a thumbnail schedule it to be downloaded if not instance.thumb_file_exists: instance.thumb = None - if not instance.thumb and not instance.skip: + if not instance.thumb: thumbnail_url = instance.thumbnail if thumbnail_url: log.info(f'Scheduling task to download thumbnail for: {instance.name} '