FCR001 / cantata

Automatically exported from code.google.com/p/cantata
GNU General Public License v3.0
0 stars 0 forks source link

Cantata 1.4.2 (FreeBSD) does not use folder.jpg in each album folder #616

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Cantata 1.4.2

QT4 build for FreeBSD 10.1 (I made the port)

1. run cantata
2. there is a ceover art in each album (folder.pjg)
3. cantata does not use them, instaed it downloads a cover from Internet (and 
sometimes only

I've made a QT4 port for cantata 1.5.1, it does not work better for album art
(I first made a QT5 port of both 1.4.2 and 1.5.1, but there are too many 
display bugs)

Thanks for your help,

Eric

Original issue reported on code.google.com by 3rik...@gmail.com on 20 Jan 2015 at 9:26

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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