Check xml playQueue
This commit is contained in:
parent
4aab4813a9
commit
a53203c828
2 changed files with 9 additions and 5 deletions
|
@ -101,14 +101,18 @@ class Playqueue(Thread):
|
|||
startpos = None
|
||||
# Start playback. Player does not return in time
|
||||
if startpos:
|
||||
log.debug('Start position Plex Companion playback: %s'
|
||||
% startpos)
|
||||
thread = Thread(target=Player().play,
|
||||
args=(playqueue.kodi_pl,
|
||||
None,
|
||||
False,
|
||||
startpos))
|
||||
else:
|
||||
log.debug('Start Plex Companion playback from beginning')
|
||||
thread = Thread(target=Player().play,
|
||||
args=(playqueue.kodi_pl,))
|
||||
log.debug('Playqueues are: %s' % self.playqueues)
|
||||
thread.setDaemon(True)
|
||||
thread.start()
|
||||
|
||||
|
|
Loading…
Reference in a new issue