Closed GoogleCodeExporter closed 9 years ago
OK,
I've tried to set the album art manually, it says "faied to read image!"
The album art is name Folder.jpg, and is 500x500 pixels.
Eric
Original comment by 3rik...@gmail.com
on 20 Jan 2015 at 10:54
If Cantata states 'Failed to read image' then this is because Qt cannot read
the image. I checked the code, and the only place that has this error message
is the check to see if QImage was able to load the image file.
As to the original issue, is Cantata configured with the correct MPD music
folder?
Original comment by craig.p....@gmail.com
on 20 Jan 2015 at 6:19
Hello and thank you,
Yes cantata is configured with th correct MPD music folder.
So the album art issue cannot be fixed ?
Original comment by 3rik...@gmail.com
on 20 Jan 2015 at 6:26
Sorry for the late reply - I've just moved my setup from a desktop to a laptop,
and have had to reinstall, etc.
When you see the 'Failed to read image' error - the file that you are using,
does it have the correct extension? I have seen it before where a PNG has a
.jgg extension, and vice versa - and Qt will fail to load in this instance.
---
As for the original issue:
1. Stop Cantata
2. Delete any incorrect covers that it has downloaded, and its scaled
cover-cache. Downloaded covers that are not saved into your MPD folder, will be
in ~/.cache/cantata/covers Scaled covers are in ~/.cache/cantata/covers-scaled
2. Run Cantata from the commandline as follows:
CANTATA_DEBUG=4 cantata
This will log information about cover fetching to ~/.cache/cantata/cantata.log
- please upload this somewhere, and add a link here.
Original comment by craig.p....@gmail.com
on 1 Feb 2015 at 12:34
There is no issue with album art - it works, and has worked for some time.
Sorry, but I dont have time to debug config issues on every setup. Cantata gets
its covers from:
1. Path configured in config dialog needs to match MPD. e.g. mpd.conf has
'music_directory' set to /var/lib/mpd/music - then Cantata needs the same.
2. MPD tells Cantata of the music path of a song - e.g. Artist/Album/Track.mp3
Cantata will then look for cover image in /var/lib/mpd/music/Artist/Album/ In
here it will look for cover.jpg, cover.png, AlbumArt.jpg, AlbumArt.png,
folder.jpg, folder.png, etc. This is all detailed in the README
Obviously, this will only work if Cantata can access the MPD music folder.
Cantata will also download folders from a HTTP server on the MPD machine (but
the list of filenames tried is restricted - see README)
Original comment by craig.p....@gmail.com
on 15 Feb 2015 at 3:38
Original issue reported on code.google.com by
3rik...@gmail.com
on 20 Jan 2015 at 9:26