Fixed album cover retrieval process#3
Conversation
- Refactor search methods to return album IDs and results for better cover art handling. - Implement cover art downloading and processing with ffmpeg for normalization. - Add tests for cover art retrieval and thumbnail selection.
|
Thank you for contributing to this project! Do you happen to know if it is possible to make |
|
Hi! A pleasure regarding the contribution. I had such a nice setup with spotdl and your fix saved it so I'm the one to thank you. I'll give it a look. I would assume if not that we can make use of the sync command and create a flag such as --retrieve-cover. I'll need some time to take a look as well. |
|
@CaptSolo I checked and the feature to add covers did not exist before so I added it. I also had covers already downloaded so to test it out I also implemented the removal option. command is spotdl cover "file name or directory" with the --remove flag for removal. I have to admit I got AI to do most of the work this time but it should be working fine. Let me know if that's okay. |
- Cover command retreives covers for a specific file or directory - cover with --remove flag removes cover for a specific file or directory
Result:
Additional verification:
python -m py_compilepassed for the modified modulesNote:
tests/conftest.pycaused by the current Spotify stub/init mismatch.Screenshots (if appropriate)
Not applicable. This change affects embedded file metadata/artwork rather than a UI surface.
Types of Changes
Checklist