Don't tell PMS last item is playing if non-Plex item is played
This commit is contained in:
parent
cd5b3a3e2b
commit
3dd10ba29c
1 changed files with 1 additions and 0 deletions
|
@ -380,6 +380,7 @@ class KodiMonitor(Monitor):
|
||||||
plex_id, plex_type = self._get_ids(kodi_id, kodi_type, path)
|
plex_id, plex_type = self._get_ids(kodi_id, kodi_type, path)
|
||||||
if not plex_id:
|
if not plex_id:
|
||||||
LOG.debug('No Plex id obtained - aborting playback report')
|
LOG.debug('No Plex id obtained - aborting playback report')
|
||||||
|
status = copy.deepcopy(state.PLAYSTATE)
|
||||||
return
|
return
|
||||||
item = PL.init_Plex_playlist(playqueue, plex_id=plex_id)
|
item = PL.init_Plex_playlist(playqueue, plex_id=plex_id)
|
||||||
# Set the Plex container key (e.g. using the Plex playqueue)
|
# Set the Plex container key (e.g. using the Plex playqueue)
|
||||||
|
|
Loading…
Reference in a new issue