mirror of
https://github.com/yaronzz/Tidal-Media-Downloader.git
synced 2026-06-13 04:05:07 +03:00
1. fix #844
This commit is contained in:
@@ -119,7 +119,7 @@ def getAlbumPath(conf: Settings, album):
|
||||
if conf.addTypeFolder:
|
||||
base = base + 'Album/'
|
||||
artist = aigpy.path.replaceLimitChar(getArtistsName(album.artists), '-')
|
||||
albumArtistName = album.artist.name if album.artist is not None else ""
|
||||
albumArtistName = aigpy.path.replaceLimitChar(album.artist.name, '-') if album.artist is not None else ""
|
||||
# album folder pre: [ME][ID]
|
||||
flag = API.getFlag(album, Type.Album, True, "")
|
||||
if conf.audioQuality != AudioQuality.Master:
|
||||
@@ -182,7 +182,7 @@ def getTrackPath(conf: Settings, track, stream, album=None, playlist=None):
|
||||
number = __getIndexStr__(track.trackNumberOnPlaylist)
|
||||
# artist
|
||||
artists = aigpy.path.replaceLimitChar(getArtistsName(track.artists), '-')
|
||||
artist = track.artist.name if track.artist is not None else ""
|
||||
artist = aigpy.path.replaceLimitChar(getArtistsName(track.artist.name), '-') if track.artist is not None else ""
|
||||
# title
|
||||
title = track.title
|
||||
if not aigpy.string.isNull(track.version):
|
||||
|
||||
Reference in New Issue
Block a user