krateng / maloja

Self-hosted music scrobble database to create personal listening statistics and charts
https://maloja.krateng.ch
GNU General Public License v3.0
1.18k stars 69 forks source link

Extract album art from local music collection #152

Open da2x opened 2 years ago

da2x commented 2 years ago

Advanced and complicated feature request. I do have a preferred image file for every album in my scrobbles embedded inside the M4A, MP3, and OGA files in my music collection.

Maloja should be able to find and extract albumart from a local ~/Music catalog and into its own cache.

The Tauon jukebox has implemented this type of image and metadata extraction in Python. Some of its code might be reusable for Maloja. (Booth projects are GPLv3 licensed.)

krateng commented 2 years ago

Probably a bit out of scope at the moment. I'll keep it in mind for the future, but generally Maloja is not supposed to interact with an actual music collection. If you have some server software that reads a music collection and exposes a web API for it that Maloja can connect to, this could be a more elegant solution.

gaizaharduz commented 2 years ago

If you have some server software that reads a music collection and exposes a web API for it that Maloja can connect to, this could be a more elegant solution.

Perhaps this could then be supported for those of us using Jellyfin.

However, given that any local collection would be incomplete, it would be ideal if it could be configured to fall back to another source if it's not found locally.