Fix TypeError for getting a PMS playlist
This commit is contained in:
parent
f622eab809
commit
5ce97246d1
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ def create_kodi_playlist(plex_id=None):
|
||||||
is deleted from both disk and the Plex database.
|
is deleted from both disk and the Plex database.
|
||||||
Returns the playlist or raises PL.PlaylistError
|
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:
|
if not xml:
|
||||||
LOG.error('Could not get Plex playlist %s', plex_id)
|
LOG.error('Could not get Plex playlist %s', plex_id)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue