Do not let one private video hold up the rest

This commit is contained in:
tcely authored and GitHub committed 2025-02-20 23:16:13 -05:00
1 parent f78fa44e0c
commit 95774a0d2c
1 file changed
+6 -3
+6 -3
View File
@@ -599,9 +599,12 @@ def save_all_media_for_source(source_id):
downloaded=False, downloaded=False,
) )
for media in refresh_qs: for media in refresh_qs:
media.refresh_formats try:
media.save() media.refresh_formats
already_saved.add(media.uuid) media.save()
already_saved.add(media.uuid)
except YouTubeError:
pass
# Trigger the post_save signal for each media item linked to this source as various # Trigger the post_save signal for each media item linked to this source as various
# flags may need to be recalculated # flags may need to be recalculated