mirror of
https://github.com/spotiflacapp/SpotiFLAC-Mobile.git
synced 2026-05-31 19:05:05 +07:00
fix: add artist_album_flat case to SAF relative output dir builder
This commit is contained in:
parent
0f327cd1f6
commit
b48462a945
1 changed files with 8 additions and 0 deletions
|
|
@ -2080,6 +2080,14 @@ class DownloadQueueNotifier extends Notifier<DownloadQueueState> {
|
|||
return _joinRelativePath(playlistPrefix, '$artistName/$albumName');
|
||||
}
|
||||
|
||||
if (albumFolderStructure == 'artist_album_flat') {
|
||||
if (isSingle) {
|
||||
return _joinRelativePath(playlistPrefix, artistName);
|
||||
}
|
||||
final albumName = _sanitizeFolderName(track.albumName);
|
||||
return _joinRelativePath(playlistPrefix, '$artistName/$albumName');
|
||||
}
|
||||
|
||||
if (isSingle) {
|
||||
return _joinRelativePath(playlistPrefix, 'Singles');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue