From 109fafcf4cb7964bbb1f460f3f3ceae5831b910e Mon Sep 17 00:00:00 2001 From: croneter Date: Thu, 12 Jul 2018 09:24:51 +0200 Subject: [PATCH] Improve logging --- resources/lib/playlists/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/lib/playlists/__init__.py b/resources/lib/playlists/__init__.py index 06659920..615ffc29 100644 --- a/resources/lib/playlists/__init__.py +++ b/resources/lib/playlists/__init__.py @@ -172,18 +172,18 @@ def _full_sync(): continue try: if not playlist: - LOG.debug('New Kodi playlist detected: %s', playlist) + LOG.debug('New Kodi playlist detected: %s', path) playlist = Playlist() playlist.kodi_path = path playlist.kodi_hash = kodi_hash plex_pl.create(playlist) else: - LOG.debug('Changed Kodi playlist detected: %s', playlist) + LOG.debug('Changed Kodi playlist detected: %s', path) plex_pl.delete(playlist) playlist.kodi_hash = kodi_hash plex_pl.create(playlist) except PlaylistError: - LOG.info('Skipping Kodi playlist %s', playlist) + LOG.info('Skipping Kodi playlist %s', path) for kodi_path in old_kodi_paths: playlist = db.get_playlist(path=kodi_path) try: