From 20fef65b3d923497ae584a347b135c2d84f6359c Mon Sep 17 00:00:00 2001 From: Croneter Date: Tue, 1 May 2018 16:48:31 +0200 Subject: [PATCH] Fix playlist id and naming on playlist creation --- resources/lib/playlists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/playlists.py b/resources/lib/playlists.py index 672a14e8..1ff16a1c 100644 --- a/resources/lib/playlists.py +++ b/resources/lib/playlists.py @@ -84,7 +84,7 @@ def create_kodi_playlist(plex_id=None): if xml is None: LOG.error('Could not get Plex playlist %s', plex_id) return - api = API(xml[0]) + api = API(xml) playlist = PL.Playlist_Object() playlist.id = api.plex_id() playlist.type = v.KODI_PLAYLIST_TYPE_FROM_PLEX[api.playlist_type()]