Fix Plex Date added missing
This commit is contained in:
parent
5593b9cd91
commit
36884c0537
1 changed files with 5 additions and 1 deletions
|
@ -1256,11 +1256,15 @@ class API():
|
|||
|
||||
def getDateCreated(self):
|
||||
"""
|
||||
Returns the date when this library item was created or None
|
||||
Returns the date when this library item was created.
|
||||
|
||||
If not found, returns 2000-01-01 10:00:00
|
||||
"""
|
||||
res = self.item.attrib.get('addedAt')
|
||||
if res is not None:
|
||||
res = utils.DateToKodi(res)
|
||||
else:
|
||||
res = '2000-01-01 10:00:00'
|
||||
return res
|
||||
|
||||
def getUserData(self):
|
||||
|
|
Loading…
Reference in a new issue