Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to specify path-style of downloaded files #1

Open
bhean opened this issue Jan 14, 2024 · 1 comment
Open

Allow to specify path-style of downloaded files #1

bhean opened this issue Jan 14, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@bhean
Copy link

bhean commented Jan 14, 2024

Hi,

Thanks for share this project, it's really nice!
This is not an issue, is a suggestion/improvement.

I just wondering if it´s possible to define the format of the path for the downloaded files.
At this moment, the files are stored in <root_download_path>/songs/<album_name>/<song_name> [<song_id>].m4a and I would like to define my own "structure".

For example, something similar to <root_download_path>/songs/<artist-name>/<album-year> - <album_name>/<song_number>.- <song_name>.m4a

So maybe adding a new parameter to the appconfig.yaml to define this path would be great...

Thanks,

@yashprakash13
Copy link
Owner

yashprakash13 commented Jan 14, 2024

Hello, thanks for the suggestion. It should be possible but it'll require a few modifications.

Currently, the project is written for parsing Library.xml from Apple Music and then sorting/downloading songs under <album_name>/<song_name> structure only. The artist name is kept for each song only in the db table.

However what you're suggesting sounds like it'll need some changes to way I'm parsing the library and then saving the songs. This can be done and I'll add it to my TODOs.

I'll also welcome a PR if you're so inclined! Currently, I'm focused on adding automatic music metadata tag and coverart fetching features to the downloaded library.

@yashprakash13 yashprakash13 added the enhancement New feature or request label Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants