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?)
This commit is contained in:
Stephan Skrodzki 2023-01-29 12:43:04 +01:00
parent 255d74ffc9
commit b9bb64cc2d
1 changed files with 1 additions and 1 deletions

View File

@ -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