Call Media.ts_to_dt function instead

This commit is contained in:
tcely 2025-05-01 09:26:14 -04:00 committed by GitHub
parent f856caa024
commit 0b37aa3d9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -332,7 +332,7 @@ def index_source_task(source_id):
timestamp = video.get(fields('timestamp', media), None)
if timestamp is not None:
try:
published_dt = media.metadata_published(timestamp)
published_dt = media.ts_to_dt(timestamp)
except AssertionError:
pass
else: