From b9bb64cc2dd01fc7be707a0830d3389a26a5834c Mon Sep 17 00:00:00 2001 From: Stephan Skrodzki Date: Sun, 29 Jan 2023 12:43:04 +0100 Subject: [PATCH] self._config.device_sync.playlists.use_absolute_path when checking if absolute path in playlists was desired This lead to always have the absolute path (which does lead usin non existing config variables not to an error?) --- src/gpodder/deviceplaylist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpodder/deviceplaylist.py b/src/gpodder/deviceplaylist.py index e4141cea..35b385b8 100644 --- a/src/gpodder/deviceplaylist.py +++ b/src/gpodder/deviceplaylist.py @@ -101,7 +101,7 @@ class gPodderDevicePlaylist(object): foldername = episode_foldername_on_device(self._config, episode) if foldername: filename = os.path.join(foldername, filename) - if self._config.device_sync.playlist.absolute_path: + if self._config.device_sync.playlists.use_absolute_path: filename = os.path.join(util.relpath(self._config.device_sync.device_folder, self.mountpoint.get_uri()), filename) return filename