From 15f6d7bf18f5ca8b4598c6baac88895646eee797 Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 28 Jan 2018 13:29:27 +0100 Subject: [PATCH] Let Kodi decide whether an item is resumable --- resources/lib/playback.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/resources/lib/playback.py b/resources/lib/playback.py index 221371b1..a8036e50 100644 --- a/resources/lib/playback.py +++ b/resources/lib/playback.py @@ -131,10 +131,8 @@ def playback_init(plex_id, plex_type, playqueue): # "Play error" dialog('notification', lang(29999), lang(30128), icon='{error}') return - api = API(xml[0]) - resume, _ = api.getRuntime() trailers = False - if (plex_type == v.PLEX_TYPE_MOVIE and not resume and + if (plex_type == v.PLEX_TYPE_MOVIE and not state.RESUMABLE and settings('enableCinema') == "true"): if settings('askCinema') == "true": # "Play trailers?"