Fix TypeError for getting a PMS playlist

This commit is contained in:
Croneter 2018-05-01 14:59:57 +02:00
parent f622eab809
commit 5ce97246d1

View file

@ -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