Fixed path concat in pathtemplates
This commit is contained in:
parent
798dcdd3d9
commit
f85b208af4
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
__version__ = "1.5.0"
|
__version__ = "1.5.1"
|
||||||
|
|
|
@ -94,7 +94,7 @@ def generateFilepath(track, settings):
|
||||||
(track.playlist and settings['createStructurePlaylist'])
|
(track.playlist and settings['createStructurePlaylist'])
|
||||||
)
|
)
|
||||||
):
|
):
|
||||||
filepath = filepath / settingsRegexAlbum(settings['albumNameTemplate'], track.album, settings, track.playlist if track.playlist else None)
|
filepath = filepath / settingsRegexAlbum(settings['albumNameTemplate'], track.album, settings, track.playlist)
|
||||||
coverPath = filepath
|
coverPath = filepath
|
||||||
|
|
||||||
if not (track.playlist and not settings['tags']['savePlaylistAsCompilation']):
|
if not (track.playlist and not settings['tags']['savePlaylistAsCompilation']):
|
||||||
|
@ -109,7 +109,7 @@ def generateFilepath(track, settings):
|
||||||
(track.playlist and settings['createStructurePlaylist'])
|
(track.playlist and settings['createStructurePlaylist'])
|
||||||
)
|
)
|
||||||
)):
|
)):
|
||||||
filepath = filepath / 'CD' + str(track.discNumber)
|
filepath = filepath / f'CD{str(track.discNumber)}'
|
||||||
|
|
||||||
return (filepath, artistPath, coverPath, extrasPath)
|
return (filepath, artistPath, coverPath, extrasPath)
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -7,7 +7,7 @@ README = (HERE / "README.md").read_text()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="deemix",
|
name="deemix",
|
||||||
version="1.5.0",
|
version="1.5.1",
|
||||||
description="A barebone deezer downloader library",
|
description="A barebone deezer downloader library",
|
||||||
long_description=README,
|
long_description=README,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|
Loading…
Reference in New Issue