Fix playlist id and naming on playlist creation
This commit is contained in:
parent
7ddfc0143d
commit
20fef65b3d
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ def create_kodi_playlist(plex_id=None):
|
||||||
if xml is None:
|
if xml is None:
|
||||||
LOG.error('Could not get Plex playlist %s', plex_id)
|
LOG.error('Could not get Plex playlist %s', plex_id)
|
||||||
return
|
return
|
||||||
api = API(xml[0])
|
api = API(xml)
|
||||||
playlist = PL.Playlist_Object()
|
playlist = PL.Playlist_Object()
|
||||||
playlist.id = api.plex_id()
|
playlist.id = api.plex_id()
|
||||||
playlist.type = v.KODI_PLAYLIST_TYPE_FROM_PLEX[api.playlist_type()]
|
playlist.type = v.KODI_PLAYLIST_TYPE_FROM_PLEX[api.playlist_type()]
|
||||||
|
|
Loading…
Reference in a new issue