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:
parent
255d74ffc9
commit
b9bb64cc2d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue