From b8286c9b14a7139abfbbda5900edffd76d4db745 Mon Sep 17 00:00:00 2001 From: croneter Date: Thu, 12 Jul 2018 07:49:48 +0200 Subject: [PATCH] Fix KeyError on playlist full sync --- resources/lib/playlists/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/playlists/__init__.py b/resources/lib/playlists/__init__.py index 0b1e3afe..aa9f4777 100644 --- a/resources/lib/playlists/__init__.py +++ b/resources/lib/playlists/__init__.py @@ -188,7 +188,7 @@ def _full_sync(): except PlaylistError: LOG.info('Skipping Kodi playlist %s', path) for kodi_path in old_kodi_paths: - playlist = db.get_playlist(kodi_path=kodi_path) + playlist = db.get_playlist(path=kodi_path) try: plex_pl.delete(playlist) except PlaylistError: