Fix resume when casting to PKC
This commit is contained in:
parent
ca52117c4f
commit
76e1b1c629
1 changed files with 3 additions and 3 deletions
|
@ -563,9 +563,9 @@ def play_xml(playqueue, xml, offset=None, start_plex_id=None):
|
|||
Either supply the ratingKey of the starting Plex element. Or set
|
||||
playqueue.selectedItemID
|
||||
"""
|
||||
offset = int(offset) if offset else None
|
||||
LOG.info("play_xml called with offset %s, start_plex_id %s",
|
||||
offset, start_plex_id)
|
||||
offset = int(offset) / 1000 if offset else None
|
||||
LOG.debug("play_xml called with offset %s, start_plex_id %s",
|
||||
offset, start_plex_id)
|
||||
start_item = start_plex_id if start_plex_id is not None \
|
||||
else playqueue.selectedItemID
|
||||
for startpos, video in enumerate(xml):
|
||||
|
|
Loading…
Reference in a new issue