Merge pull request #932 from tcely/patch-2
Some checks are pending
CI / info (push) Waiting to run
CI / test (3.10) (push) Waiting to run
CI / test (3.11) (push) Waiting to run
CI / test (3.12) (push) Waiting to run
CI / test (3.8) (push) Waiting to run
CI / test (3.9) (push) Waiting to run
CI / containerise (push) Blocked by required conditions

Set `verbose_name` for `refesh_formats` task
This commit is contained in:
meeb 2025-04-08 16:29:38 +10:00 committed by GitHub
commit 07867070b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -692,7 +692,10 @@ def save_all_media_for_source(source_id):
tvn_format = '1/{:,}' + f'/{refresh_qs.count():,}'
for mn, media in enumerate(refresh_qs, start=1):
update_task_status(task, tvn_format.format(mn))
refesh_formats(str(media.pk))
refesh_formats(
str(media.pk),
verbose_name=f'Refreshing metadata formats for: {media.key}: "{media.name}"',
)
saved_later.add(media.uuid)
# Trigger the post_save signal for each media item linked to this source as various