Fix Companion client resuming playback
This commit is contained in:
parent
a4f4d0b7a7
commit
764937e0b5
1 changed files with 6 additions and 10 deletions
|
@ -106,10 +106,6 @@ class PlexCompanion(Thread):
|
||||||
api = API(xml[0])
|
api = API(xml[0])
|
||||||
playqueue = PQ.get_playqueue_from_type(
|
playqueue = PQ.get_playqueue_from_type(
|
||||||
v.KODI_PLAYLIST_TYPE_FROM_PLEX_TYPE[api.getType()])
|
v.KODI_PLAYLIST_TYPE_FROM_PLEX_TYPE[api.getType()])
|
||||||
if container_key == playqueue.id:
|
|
||||||
LOG.info('Already know this playqueue - ignoring')
|
|
||||||
playqueue.transient_token = data.get('token')
|
|
||||||
else:
|
|
||||||
PQ.update_playqueue_from_PMS(
|
PQ.update_playqueue_from_PMS(
|
||||||
playqueue,
|
playqueue,
|
||||||
playqueue_id=container_key,
|
playqueue_id=container_key,
|
||||||
|
|
Loading…
Reference in a new issue