Fix playback startup for Plex Companion
This commit is contained in:
parent
48d288ac53
commit
6cba4a1d01
1 changed files with 6 additions and 5 deletions
|
@ -404,11 +404,12 @@ class QueuePlay(backgroundthread.KillableThread):
|
||||||
LOG.info('Start normal playback')
|
LOG.info('Start normal playback')
|
||||||
# Release default.py
|
# Release default.py
|
||||||
utils.window('plex.playlist.play', value='true')
|
utils.window('plex.playlist.play', value='true')
|
||||||
# Remove the playlist element we just added with the
|
if not app.PLAYSTATE.initiated_by_plex:
|
||||||
# right path
|
# Remove the playlist element we just added with the
|
||||||
xbmc.sleep(1000)
|
# right path
|
||||||
playqueue.kodi_remove_item(start_position)
|
xbmc.sleep(1000)
|
||||||
del playqueue.items[start_position]
|
playqueue.kodi_remove_item(start_position)
|
||||||
|
del playqueue.items[start_position]
|
||||||
LOG.debug('Done wrapping up')
|
LOG.debug('Done wrapping up')
|
||||||
break
|
break
|
||||||
self.load_params(params)
|
self.load_params(params)
|
||||||
|
|
Loading…
Reference in a new issue