[GH-ISSUE #222] Folder Structure option not respected #917

Closed
opened 2026-03-01 17:32:43 +03:00 by kerem · 0 comments
Owner

Originally created by @dilirity on GitHub (Jan 3, 2026).
Original GitHub issue: https://github.com/afkarxyz/SpotiFLAC/issues/222

I'm trying to download https://open.spotify.com/album/3qNCqYQyWvvgTapGWLTQsk?si=OW2Du-VcTX6Nj4Jy0juRzw

Settings:

Image

When I hit download, it doesn't respect the Folder Structure:

C:\Users\blank\Music\Alienation\[2025] Three Days Grace - Alienation\01. Dominate.flac

Even if I change it to [{year}] {artist} - {album}, I get the same result.

Changing it to {artist}/[{year}] {album}, still puts the artist folder in the album name folder:

C:\Users\blank\Music\Alienation\Three Days Grace\[2025] Alienation\01. Dominate.flac

If I try another album - https://open.spotify.com/album/4wZ0kgFwNY5rBugUjXpaCy?si=yadK1ZdXRJmUVY8_xAOMCg

I always end up having album name/what ever structure I choose.

For this one Folder Structure is {artist}/[{year}] {album}, and I get:

C:\Users\blank\Music\Unforeseen Consequences\morch kovalski\[2018] Unforeseen Consequences\01. Black Mesa Theme.flac

I think the problem might be that the album/playlist name is unconditionally added here, before the template is applied:

https://github.com/afkarxyz/SpotiFLAC/blob/main/frontend/src/hooks/useDownload.ts#L85-L88

Lyrics and Cover probably have the same problem.

Originally created by @dilirity on GitHub (Jan 3, 2026). Original GitHub issue: https://github.com/afkarxyz/SpotiFLAC/issues/222 I'm trying to download https://open.spotify.com/album/3qNCqYQyWvvgTapGWLTQsk?si=OW2Du-VcTX6Nj4Jy0juRzw Settings: <img width="968" height="526" alt="Image" src="https://github.com/user-attachments/assets/3e4f57f9-57b5-4f1f-b780-d47a6dd942da" /> When I hit download, it doesn't respect the `Folder Structure`: ``` C:\Users\blank\Music\Alienation\[2025] Three Days Grace - Alienation\01. Dominate.flac ``` Even if I change it to `[{year}] {artist} - {album}`, I get the same result. Changing it to `{artist}/[{year}] {album}`, still puts the artist folder in the album name folder: ``` C:\Users\blank\Music\Alienation\Three Days Grace\[2025] Alienation\01. Dominate.flac ``` If I try another album - https://open.spotify.com/album/4wZ0kgFwNY5rBugUjXpaCy?si=yadK1ZdXRJmUVY8_xAOMCg I always end up having `album name/what ever structure I choose`. For this one `Folder Structure` is `{artist}/[{year}] {album}`, and I get: ``` C:\Users\blank\Music\Unforeseen Consequences\morch kovalski\[2018] Unforeseen Consequences\01. Black Mesa Theme.flac ``` --- I think the problem might be that the album/playlist name is unconditionally added here, before the template is applied: https://github.com/afkarxyz/SpotiFLAC/blob/main/frontend/src/hooks/useDownload.ts#L85-L88 Lyrics and Cover probably have the same problem.
kerem closed this issue 2026-03-01 17:32:43 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SpotiFLAC#917
No description provided.