Fix deleting Plex playlists

This commit is contained in:
Croneter 2018-05-02 16:47:03 +02:00
parent 2f25453fe2
commit 5fd6587ff7

View file

@ -870,7 +870,7 @@ def delete_playlist_from_pms(playlist):
Deletes the playlist from the PMS
"""
xml = DU().downloadUrl("{server}/%ss/%s" %
(playlist.kind, playlist.id),
(playlist.kind.lower(), playlist.id),
action_type="DELETE")
try:
xml.attrib