From 99f3d59ff13d2dcf0aa126122046f175bec2c813 Mon Sep 17 00:00:00 2001
From: TheLittleDoctor <36447611+TheLittleDoc@users.noreply.github.com>
Date: Thu, 18 Dec 2025 20:39:03 -0500
Subject: [PATCH] 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
---
frontend/src/components/SettingsPage.tsx | 9 ++++++++-
frontend/src/hooks/useDownload.ts | 15 ++++++++++++---
frontend/src/lib/settings.ts | 1 +
3 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/frontend/src/components/SettingsPage.tsx b/frontend/src/components/SettingsPage.tsx
index 4eca157..7105263 100644
--- a/frontend/src/components/SettingsPage.tsx
+++ b/frontend/src/components/SettingsPage.tsx
@@ -339,7 +339,14 @@ export function SettingsPage() {