Fix Recently Added
Plex time was not converted to Kodi time
This commit is contained in:
parent
9b99028fb1
commit
53c07d4b50
2 changed files with 4 additions and 3 deletions
|
@ -1513,7 +1513,7 @@ class API():
|
||||||
"""
|
"""
|
||||||
Returns the date when this library item was created
|
Returns the date when this library item was created
|
||||||
"""
|
"""
|
||||||
return utils.DateToKodi(self.item.attrib.get('addedAt', None))
|
return utils.DateToKodi(self.item.attrib.get('addedAt'))
|
||||||
|
|
||||||
def getUserData(self):
|
def getUserData(self):
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -7,7 +7,8 @@ import inspect
|
||||||
import json
|
import json
|
||||||
import pstats
|
import pstats
|
||||||
import sqlite3
|
import sqlite3
|
||||||
from datetime import datetime, time, timedelta
|
from datetime import datetime, timedelta
|
||||||
|
import time
|
||||||
import unicodedata
|
import unicodedata
|
||||||
import xml.etree.ElementTree as etree
|
import xml.etree.ElementTree as etree
|
||||||
from functools import wraps
|
from functools import wraps
|
||||||
|
@ -545,7 +546,7 @@ def startProfiling():
|
||||||
return pr
|
return pr
|
||||||
|
|
||||||
def stopProfiling(pr, profileName):
|
def stopProfiling(pr, profileName):
|
||||||
|
from datetime import time
|
||||||
pr.disable()
|
pr.disable()
|
||||||
ps = pstats.Stats(pr)
|
ps = pstats.Stats(pr)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue