mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 14:06:36 +00:00
Prefer release_timestamp
when it is available
This commit is contained in:
parent
4714336f28
commit
eb396aaf3c
@ -1275,7 +1275,9 @@ class Media(models.Model):
|
||||
|
||||
def metadata_published(self, timestamp=None):
|
||||
if timestamp is None:
|
||||
timestamp = self.get_metadata_first_value('timestamp')
|
||||
timestamp = self.get_metadata_first_value(
|
||||
('release_timestamp', 'timestamp',)
|
||||
)
|
||||
return self.ts_to_dt(timestamp)
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user