From 76e1b1c629bfb3c3b6a3cb890ae91ec6d40ac457 Mon Sep 17 00:00:00 2001 From: croneter Date: Mon, 28 Oct 2019 18:01:49 +0100 Subject: [PATCH] Fix resume when casting to PKC --- resources/lib/playback.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/playback.py b/resources/lib/playback.py index 786d2735..00c882bd 100644 --- a/resources/lib/playback.py +++ b/resources/lib/playback.py @@ -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):