Remove obsolete resumable flag
This commit is contained in:
parent
8e1b77fcfe
commit
f0c1562ab5
3 changed files with 0 additions and 5 deletions
|
@ -415,7 +415,6 @@ class SpecialMonitor(Thread):
|
||||||
if (getCondVisibility('Window.IsVisible(DialogContextMenu.xml)') and
|
if (getCondVisibility('Window.IsVisible(DialogContextMenu.xml)') and
|
||||||
getInfoLabel('Control.GetLabel(1002)') in strings):
|
getInfoLabel('Control.GetLabel(1002)') in strings):
|
||||||
# Remember that the item IS indeed resumable
|
# Remember that the item IS indeed resumable
|
||||||
state.RESUMABLE = True
|
|
||||||
control = int(Window(10106).getFocusId())
|
control = int(Window(10106).getFocusId())
|
||||||
if control == 1002:
|
if control == 1002:
|
||||||
# Start from beginning
|
# Start from beginning
|
||||||
|
|
|
@ -175,7 +175,6 @@ def _ensure_resolve(abort=False):
|
||||||
# Reset some playback variables
|
# Reset some playback variables
|
||||||
state.CONTEXT_MENU_PLAY = False
|
state.CONTEXT_MENU_PLAY = False
|
||||||
state.FORCE_TRANSCODE = False
|
state.FORCE_TRANSCODE = False
|
||||||
state.RESUMABLE = False
|
|
||||||
state.RESUME_PLAYBACK = False
|
state.RESUME_PLAYBACK = False
|
||||||
|
|
||||||
|
|
||||||
|
@ -319,7 +318,6 @@ def _conclude_playback(playqueue, pos):
|
||||||
listitem.setProperty('StartOffset', str(item.offset))
|
listitem.setProperty('StartOffset', str(item.offset))
|
||||||
listitem.setProperty('resumetime', str(item.offset))
|
listitem.setProperty('resumetime', str(item.offset))
|
||||||
# Reset the resumable flag
|
# Reset the resumable flag
|
||||||
state.RESUMABLE = False
|
|
||||||
result.listitem = listitem
|
result.listitem = listitem
|
||||||
pickle_me(result)
|
pickle_me(result)
|
||||||
LOG.info('Done concluding playback')
|
LOG.info('Done concluding playback')
|
||||||
|
|
|
@ -145,8 +145,6 @@ PLAYSTATE = {
|
||||||
# paths for playback (since we're not receiving a Kodi id)
|
# paths for playback (since we're not receiving a Kodi id)
|
||||||
PLEX_IDS = {}
|
PLEX_IDS = {}
|
||||||
PLAYED_INFO = {}
|
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
|
# Set by SpecialMonitor - did user choose to resume playback or start from the
|
||||||
# beginning?
|
# beginning?
|
||||||
RESUME_PLAYBACK = False
|
RESUME_PLAYBACK = False
|
||||||
|
|
Loading…
Add table
Reference in a new issue