mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-22 13:06:34 +00:00
Use Media.metadata_published
This commit is contained in:
parent
695c1f6e59
commit
0a1b08b654
@ -386,6 +386,9 @@ def download_media_metadata(media_id):
|
||||
# Media must have a valid upload date
|
||||
if upload_date:
|
||||
media.published = timezone.make_aware(upload_date)
|
||||
published = media.metadata_published
|
||||
if published:
|
||||
media.published = published
|
||||
|
||||
# Store title in DB so it's fast to access
|
||||
if media.metadata_title:
|
||||
|
Loading…
Reference in New Issue
Block a user