mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-07-20 05:18:58 +00:00
Fix lastplayed
This commit is contained in:
parent
2a1a4b8a7c
commit
285b242a7f
5 changed files with 11 additions and 23 deletions
|
@ -295,9 +295,7 @@ class Actions(object):
|
|||
if obj['Premiere']:
|
||||
obj['Premiere'] = obj['Premiere'].split('T')[0]
|
||||
|
||||
if not obj['Played']:
|
||||
obj['DatePlayed'] = None
|
||||
elif obj['DatePlayed']:
|
||||
if obj['DatePlayed']:
|
||||
obj['DatePlayed'] = obj['DatePlayed'].split('.')[0].replace('T', " ")
|
||||
|
||||
metadata = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue