Fix PKC not setting the currently playing item's path

This commit is contained in:
croneter 2021-11-25 08:34:48 +01:00
parent 9ed7128ea2
commit 0383d560c5

View file

@ -308,7 +308,7 @@ class KodiMonitor(xbmc.Monitor):
initialize = False initialize = False
if initialize: if initialize:
LOG.debug('Need to initialize Plex and PKC playqueue') LOG.debug('Need to initialize Plex and PKC playqueue')
if not kodi_id or not kodi_type: if not kodi_id or not kodi_type or not path:
kodi_id, kodi_type, path = self._json_item(playerid) kodi_id, kodi_type, path = self._json_item(playerid)
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: