parent
4f750379f1
commit
dac7cdd47e
1 changed files with 3 additions and 3 deletions
|
@ -93,9 +93,9 @@ def m3u_to_plex_ids(playlist):
|
||||||
if not kodi_id:
|
if not kodi_id:
|
||||||
continue
|
continue
|
||||||
with PlexDB() as plexdb:
|
with PlexDB() as plexdb:
|
||||||
plex_id = plexdb.item_by_kodi_id(kodi_id, kodi_type)
|
item = plexdb.item_by_kodi_id(kodi_id, kodi_type)
|
||||||
if plex_id:
|
if item:
|
||||||
plex_ids.append(plex_id[0])
|
plex_ids.append(item['plex_id'])
|
||||||
return plex_ids
|
return plex_ids
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue