Speed-up looking up of existing episodes
This commit is contained in:
parent
91ea8c8d00
commit
2917bc982f
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ class Episode(ItemBase, TvShowMixin):
|
||||||
LOG.error('Error getting plex_id for episode, skipping: %s',
|
LOG.error('Error getting plex_id for episode, skipping: %s',
|
||||||
xml.attrib)
|
xml.attrib)
|
||||||
return
|
return
|
||||||
entry = self.plexdb.item_by_id(plex_id)
|
entry = self.plexdb.item_by_id(plex_id, v.PLEX_TYPE_EPISODE)
|
||||||
try:
|
try:
|
||||||
kodi_id = entry[0]
|
kodi_id = entry[0]
|
||||||
old_kodi_fileid = entry[1]
|
old_kodi_fileid = entry[1]
|
||||||
|
|
Loading…
Reference in a new issue