From 5ce97246d15a0a498de10247499b3a6b918e6ee4 Mon Sep 17 00:00:00 2001 From: Croneter Date: Tue, 1 May 2018 14:59:57 +0200 Subject: [PATCH] Fix TypeError for getting a PMS playlist --- 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 9fc01f49..315092f9 100644 --- a/resources/lib/playlists.py +++ b/resources/lib/playlists.py @@ -80,7 +80,7 @@ def create_kodi_playlist(plex_id=None): is deleted from both disk and the Plex database. Returns the playlist or raises PL.PlaylistError """ - xml = PL.get_PMS_playlist(playlist_id=plex_id) + xml = PL.get_PMS_playlist(PL.Playlist_Object(), playlist_id=plex_id) if not xml: LOG.error('Could not get Plex playlist %s', plex_id) return