Merge pull request #986 from croneter/fix-resume

Fix resume when force-transcoding
This commit is contained in:
croneter 2019-09-08 16:18:21 +02:00 committed by GitHub
commit ddaa26c385
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View file

@ -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 - 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 - 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 - 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.5:
- Version 2.9.4 for everyone - Version 2.9.4 for everyone

View file

@ -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 - 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 - 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 - 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.5:
- Version 2.9.4 for everyone - Version 2.9.4 for everyone

View file

@ -211,7 +211,8 @@ def _playback_init(plex_id, plex_type, playqueue, pos):
# Release default.py # Release default.py
_ensure_resolve() _ensure_resolve()
api = API(xml[0]) 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 - # Since Kodi won't ask if user wants to resume playback -
# we need to ask ourselves # we need to ask ourselves
resume = resume_dialog(int(api.resume_point())) resume = resume_dialog(int(api.resume_point()))