Merge pull request #996 from tcely/patch-6
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

Use the length of the new metadata
This commit is contained in:
meeb 2025-04-28 14:53:09 +10:00 committed by GitHub
commit 7d77d919cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -514,7 +514,7 @@ def download_media_metadata(media_id):
# Don't filter media here, the post_save signal will handle that # Don't filter media here, the post_save signal will handle that
save_model(media) save_model(media)
log.info(f'Saved {len(media.metadata)} bytes of metadata for: ' log.info(f'Saved {len(media.metadata_dumps())} bytes of metadata for: '
f'{source} / {media}: {media_id}') f'{source} / {media}: {media_id}')