-
Notifications
You must be signed in to change notification settings - Fork 5
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
For local music libraries, queue tab cannot load album art covers from music file's directory #151
Comments
Hi there, happy to hear you're enjoying To problem 1: Things concering the cover cache and loading covers from MusicBrainz: You're totally right, I also got some weird covers from the MusicBrainz API. Especially for non-popular tracks. I just checked the code and the "min score" for a cover to appear in the search query results is 60. The higher it is the higher is the chance it's the correct cover. To be honest I don't know which value would give us well balanced search results. I made it configurable via the You could also turn off the local cache completely via No cover in the queue This is indeed a bug, thanks for reporting it! Fixed that. To problem 2: It looks like For now, I placed a I'm glad to hear your ideas on it! |
Sorry, I think I didn't make myself clear. My issue was thinking that the queue tab should display cover arts from local filesystem only. If I disable caching with MusicBrainz it just shows nothing. Is this by design as of right now? About the second issue, I thought a simple way to avoid illegal characters in those filenames: calculating a cheap hash function from the artist/album name and using said hash to create and read files. So, instead of creating a cache file named Also btw some artists like Caetano Veloso happen to have released three, four albums named exactly the same, only in different years. This will fool the algorithm into thinking they're the same album when they're not. Maybe a better solution is to use the MusicBrainz album ID. |
Hi there!
This was indeed a bug in
For this, we could just use
Yes, this would also be my preferred solution. Unfortunately, the mpd library in use (javampd) does not offer an option to read specific id3 tags. |
OK, tested it and now it finds my cover art files alright. Thanks for fixing! However I suggest letting users configure the cover art filename pattern(s) they wish to use. This may come as a surprise, but in my case, within some folders I have more than one image file lying around; these can be back covers, cd pictures, liner notes etc. So using astherisks matches the first one in alphabetical order, regardless of which one it is.
Yes, that's simple enough.
That's too bad. Think it could be requested as a new feature for Also, sorry if my next question is dumb, but I really need some orientation in regards to |
You're welcome!
In my last commit I've added the property But it's only used when browsing and not when viewing the queue. This is because
Implemented the use of
You could do that, yes. The repository is https://github.com/finnyb/javampd
There is no system for plugins in For example, I'm using mpdscribble |
Hi, thanks for sharing this client. Playback and library scanning work like a charm! However I want to report two issues I'm having regarding the cover art support. I would like to help as well, but first things first; I think acknowledging the root of the problem is top priority.
A little filesystem context
I'm running MPD and this client/server stack in a Win10 machine. My music library resides looks like this
Music/${audio-format}/${album-folder}/${music-file}
and each album folder name is formatted like${artist} [${year} ${release-type}] ${release-name}/
. Each release-name folder may have afront.jpg
file acting like the sole cover art.I run the server with most default settings like so
java -jar "-Dmpd.music.directory=F:/Benjamin/Music" .\ampd-1.3.4.jar
The problems
If I play my music files, their local cover art file is ignored and instead the server always tries to fetch another one from the cache, or the web and then caching it that's enabled. Gotta say, that doesn't always work or even matches the album. However when I go browsing each folder, the aforementioned cover art file is correctly read and displayed in the client web interface with no issue whatsoever.
If the album or band name contains symbols that are forbidden to filenames, the server it fails to cache the cover art at all. Take for example, post-punk band DEVO's debut album "Q: Are We Not Men? A: We Are Devo!" and you'll surely understand the issue. The raised exception goes as follows:
Hope this can be made sense of. And again, I'd be glad to help if it's not overly complicated. I have a couple ideas on how to fix these, but obviously a lot of questions to make before that.
The text was updated successfully, but these errors were encountered: