Location of coverart in web server

Raspberry Pi related support

Location of coverart in web server

Postby mmarc » 06 May 2015, 03:41

I have cover art stored in each album's folder, and it is correctly displayed by runeadio's web ui. But I prefer using Cantata MPD client, which fails to find the cover art.

states that:
...if the MPD folder was specified as a http URL (it will try to find the cover art in):

18. ${url}/${dirFromFile}/cover.jpg
- or ${url}/${dirFromFile}/${configuredName}.jpg (if set)
19. ${url}/${dirFromFile}/cover.png
- or ${url}/${dirFromFile}/${configuredName}.png (if set)


Would anybody know what to set as url for this to work?

Thanks in advance,

Marc
mmarc
 
Posts: 5
Joined: 06 May 2015, 03:25

Re: Location of coverart in web server

Postby ACX » 06 May 2015, 11:02

User avatar
ACX
RuneAudio co-founder
 
Posts: 1693
Joined: 29 Nov 2013, 02:25
Location: Udine, Italy

Re: Location of coverart in web server

Postby mmarc » 07 May 2015, 03:47

Thanks, but no, that does not seem to work. Any other idea?
mmarc
 
Posts: 5
Joined: 06 May 2015, 03:25

Re: Location of coverart in web server

Postby mmarc » 25 May 2015, 16:22

I still can't display the cover art in Cantata, but I have more information that I could help sole this:

Cantata can get cover art from itunes, last.fm, etc, and can try to store it on the web server (if it is writable). When I try to do this, it fails to save the fetched album cover with an error message that shows where it is trying to write the image, and my guess is that this location is also where it is trying to read the location on the web server.

Cantata's "Music Folder" (which is used to locate cover art) is set to: http://runeaudio.local/coverart/

When it tries to save the an album cover I get the message:
Could not copy file to 'http://runeaudio.local/coverart/USB/sda1-ata-WDC_WD10JMVW-11A/Music/m4a/Bach Collegium Japan/Bach; Cantatas, Vol. 44/cover.jpg'!

The Music and cover art is stored in an external USB drive with file path:
[root@runeaudio ~]# ls /mnt/MPD/USB/sda1-ata-WDC_WD10JMVW-11A/Music/m4a/Bach\ Collegium\ Japan/Bach\;\ Cantatas\,\ Vol.\ 44/*.jpg
/mnt/MPD/USB/sda1-ata-WDC_WD10JMVW-11A/Music/m4a/Bach Collegium Japan/Bach; Cantatas, Vol. 44/cover.jpg
[root@runeaudio ~]#


Based on this, would anyone know what are the correct settings for Cantata's Music Folder?

Thanks,

Marc
mmarc
 
Posts: 5
Joined: 06 May 2015, 03:25

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: Google [Bot] and 20 guests