Added a toggle to choose between using Artist property or AlbumArtist property for folder name (#169)

* Corrected function call to correctly download albums vs playlists

* Added setting to prefer AlbumArtist as folder name.
  - In practice, this prevents albums with multiple artists, featured artists, collaborations, or collections like soundtracks, from being split up
  - This is occasionally desirable behavior, so I added it as a toggle rather than a default behavior
This commit is contained in:
TheLittleDoctor
2025-12-18 20:39:03 -05:00
committed by GitHub
parent 965f044e0c
commit 99f3d59ff1
3 changed files with 21 additions and 4 deletions
+8 -1
View File
@@ -339,7 +339,14 @@ export function SettingsPage() {
</p>
)}
</div>
<div className="flex items-center gap-3">
<Label htmlFor="use-album-artist" className="cursor-pointer text-sm">Use Album Artist</Label>
<Switch
id="use-album-artist"
checked={tempSettings.useAlbumArtist}
onCheckedChange={(checked) => setTempSettings(prev => ({ ...prev, useAlbumArtist: checked }))}
/>
</div>
<div className="border-t" />
{/* Filename Format */}