From 5205964c607a5fefcb86129cfd1dc0747657a704 Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 8 Sep 2019 16:17:33 +0200 Subject: [PATCH] Fix resume when force-transcoding --- addon.xml | 1 + changelog.txt | 1 + resources/lib/playback.py | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/addon.xml b/addon.xml index 240bb98a..54a8697f 100644 --- a/addon.xml +++ b/addon.xml @@ -89,6 +89,7 @@ - Force a full sync of all items after choosing a new PMS, changing a PMS' address and changing which Plex libraries to sync - Only enforce advancedsettings.xml 'cleanonupdate' to be false for PKC add-on paths - Never give up trying to connect to the PMS or Alexa using websockets +- Fix resume when force-transcoding version 2.9.5: - Version 2.9.4 for everyone diff --git a/changelog.txt b/changelog.txt index 0a79a440..1f61df75 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,6 +4,7 @@ version 2.9.6: - Force a full sync of all items after choosing a new PMS, changing a PMS' address and changing which Plex libraries to sync - Only enforce advancedsettings.xml 'cleanonupdate' to be false for PKC add-on paths - Never give up trying to connect to the PMS or Alexa using websockets +- Fix resume when force-transcoding version 2.9.5: - Version 2.9.4 for everyone diff --git a/resources/lib/playback.py b/resources/lib/playback.py index d3761d4e..f094943d 100644 --- a/resources/lib/playback.py +++ b/resources/lib/playback.py @@ -211,7 +211,8 @@ def _playback_init(plex_id, plex_type, playqueue, pos): # Release default.py _ensure_resolve() api = API(xml[0]) - if app.SYNC.direct_paths and api.resume_point(): + if api.resume_point() and (app.SYNC.direct_paths or + app.PLAYSTATE.context_menu_play): # Since Kodi won't ask if user wants to resume playback - # we need to ask ourselves resume = resume_dialog(int(api.resume_point()))