oSumAtrIX / DownOnSpot

🎧 A Spotify music and playlist downloader working with free Spotify accounts written in Rust
https://osumatrix.me
GNU General Public License v3.0
555 stars 44 forks source link

Support file format with sub-directories #4

Closed onny closed 2 years ago

onny commented 2 years ago

Hey, it would be cool to download an artist by having the albums as directories in the downloads directory. For example:

"filename_template": "%artist%/%album% (%year%)/%track%. %title%",

Is this possible? Would be a sane default in my opinion.

oSumAtrIX commented 2 years ago

As of commit 9779b4af6bff8fe965d6a92470a05d6bd93ccfe5 it is now possible to use the following variables in the path. An example configuration is:

"path": "downloads/%artist%",
"filename_template": "%title%"