Don't tell PMS last item is playing if non-Plex item is played

This commit is contained in:
Croneter 2018-03-29 07:37:20 +02:00
parent cd5b3a3e2b
commit 3dd10ba29c

View file

@ -380,6 +380,7 @@ class KodiMonitor(Monitor):
plex_id, plex_type = self._get_ids(kodi_id, kodi_type, path)
if not plex_id:
LOG.debug('No Plex id obtained - aborting playback report')
status = copy.deepcopy(state.PLAYSTATE)
return
item = PL.init_Plex_playlist(playqueue, plex_id=plex_id)
# Set the Plex container key (e.g. using the Plex playqueue)