Remove obsolete resumable flag

This commit is contained in:
croneter 2018-03-15 11:28:31 +01:00
parent 8e1b77fcfe
commit f0c1562ab5
3 changed files with 0 additions and 5 deletions

View File

@ -415,7 +415,6 @@ class SpecialMonitor(Thread):
if (getCondVisibility('Window.IsVisible(DialogContextMenu.xml)') and
getInfoLabel('Control.GetLabel(1002)') in strings):
# Remember that the item IS indeed resumable
state.RESUMABLE = True
control = int(Window(10106).getFocusId())
if control == 1002:
# Start from beginning

View File

@ -175,7 +175,6 @@ def _ensure_resolve(abort=False):
# Reset some playback variables
state.CONTEXT_MENU_PLAY = False
state.FORCE_TRANSCODE = False
state.RESUMABLE = False
state.RESUME_PLAYBACK = False
@ -319,7 +318,6 @@ def _conclude_playback(playqueue, pos):
listitem.setProperty('StartOffset', str(item.offset))
listitem.setProperty('resumetime', str(item.offset))
# Reset the resumable flag
state.RESUMABLE = False
result.listitem = listitem
pickle_me(result)
LOG.info('Done concluding playback')

View File

@ -145,8 +145,6 @@ PLAYSTATE = {
# paths for playback (since we're not receiving a Kodi id)
PLEX_IDS = {}
PLAYED_INFO = {}
# Flag whether Kodi item where the playback is being started is even resumable
RESUMABLE = False
# Set by SpecialMonitor - did user choose to resume playback or start from the
# beginning?
RESUME_PLAYBACK = False