Fix missing resume points
This commit is contained in:
parent
dfd5297cd3
commit
83833d76b3
1 changed files with 3 additions and 0 deletions
|
@ -815,6 +815,9 @@ def __build_folder(xml_element, plex_section_id=None):
|
|||
def __build_item(xml_element):
|
||||
api = API(xml_element)
|
||||
listitem = api.CreateListItemFromPlexItem()
|
||||
resume = api.getResume()
|
||||
if resume:
|
||||
listitem.setProperty('resumetime', str(resume))
|
||||
if (api.getKey().startswith('/system/services') or
|
||||
api.getKey().startswith('http')):
|
||||
params = {
|
||||
|
|
Loading…
Reference in a new issue