mirror of
https://github.com/yaronzz/Tidal-Media-Downloader.git
synced 2026-06-13 04:05:07 +03:00
fix getTrackPath bug
This commit is contained in:
@@ -117,8 +117,8 @@ def getTrackPath(track, stream, album=None, playlist=None):
|
|||||||
explicit = "(Explicit)" if track.explicit else ''
|
explicit = "(Explicit)" if track.explicit else ''
|
||||||
|
|
||||||
# album and addyear
|
# album and addyear
|
||||||
albumName = __fixPath__(album.title)
|
albumName = __fixPath__(album.title) if album is not None else ''
|
||||||
year = __getYear__(album.releaseDate)
|
year = __getYear__(album.releaseDate) if album is not None else ''
|
||||||
|
|
||||||
# extension
|
# extension
|
||||||
extension = __getExtension__(stream)
|
extension = __getExtension__(stream)
|
||||||
|
|||||||
Reference in New Issue
Block a user