You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Locate album art for the given song and return a chunk of an album art image file at offset OFFSET.
This is currently implemented by searching the directory the file resides in for a file called cover.png, cover.jpg, cover.tiff or cover.bmp.
Returns the file size and actual number of bytes read at the requested offset, followed by the chunk requested as raw bytes (see Binary Responses), then a newline and the completion code.
I can imagine an additional method in MPDArtworkFinder that takes the file path of a track and returns the cover that resides inside the same directory.
Though I'm not sure if it work's with the current implementation of MPDSocket#sendBytes() since that uses readLine() and the cover returned by MPD will be in bytes.
The text was updated successfully, but these errors were encountered:
rain0r
changed the title
Feature request. albumart
Feature request: albumart
Mar 31, 2021
It would be very cool if
javampd
would support the MPD commandalbumart
.From the docs:
albumart {URI} {OFFSET}
I can imagine an additional method in
MPDArtworkFinder
that takes the file path of a track and returns the cover that resides inside the same directory.Though I'm not sure if it work's with the current implementation of
MPDSocket#sendBytes()
since that usesreadLine()
and the cover returned by MPD will be in bytes.The text was updated successfully, but these errors were encountered: