mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-07-06 04:37:59 +02:00
fix: add artist_album_flat case to SAF relative output dir builder
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user