Fix PKC playQueue manager not picking up Plex ids correctly

This commit is contained in:
croneter 2018-11-23 09:05:51 +01:00
parent 8110c104f1
commit e87edb07f0

View file

@ -134,7 +134,7 @@ class PlayqueueMonitor(backgroundthread.KillableThread):
old_item.kodi_type == new_item['type'])
else:
try:
plex_id = utils.REGEX_PLEX_ID.findall(new_item['file'])[0]
plex_id = int(utils.REGEX_PLEX_ID.findall(new_item['file'])[0])
except IndexError:
LOG.debug('Comparing paths directly as a fallback')
identical = old_item.file == new_item['file']