RaspyFi - Topic: WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/ Simple:Press Version 5.2.6 rodgersan on WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p2122 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p2122

Rowar said

Hello arginine,

  1. RaspyFi use MPD to play music. MPD is configured to list all music from /var/lib/mpd/music. So it doesn't matter if you have a NAS or a USB drive connected. Both sources will be symlinked to this folder automatically, if you use the Webinterface of RaspyFi.
  2. The path /var/www/ is the standard webserver path of Linux. I just added an subfolder, so i doesn't mess up the built in Web-Interface structure. You can also name the new webserver path "covers" (/var/www/covers). The built in webserver nginx will delivers the covers, if you query them correctly.

Some background infos: Mpod knows from MPD which file is actually played. It retrieves from MPD the indirect path and query the webserver with the same path for the cover Art e.g.

  • By MPD played song: /var/lib/mpd/music/NAS/Library/Artist/Album/Song.flac
  • Mpod knows only the indirect path: NAS/Library/Artist/Album/
  • For the Cover Art Mpod just add the configured URL and the filename of the Cover Art: http://[Your RaspyFi IP]/Music/NAS/Library/Artist/Album/folder.jpg

We just symlinked the whole MPD music path. So the webserver of RaspyFi delivers correctly the covers. There is no overhead, because no webserver script is running. Mpod is quering the covers only one time and stores them in the local cache together to the Artist, Album and Song informations. That makes Mpod so blazing fast for scroling and filtering.
Sorry for my bad english. If something is not understandable feel free to ask again, i try to rephrase/explain it again.

Thanks Rowar, the /var/www/covers link works perfectly with mpdroid. The setting in the mpdroid client for the cover path should be set as /covers though. Regards,

]]>
Sun, 15 Dec 2013 22:58:24 +0100
Rowar on WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1673 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1673 ***please remove - double post***

]]>
Fri, 01 Nov 2013 02:49:53 +0100
Rowar on WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1671 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1671 Hello arginine,

  1. RaspyFi use MPD to play music. MPD is configured to list all music from /var/lib/mpd/music. So it doesn't matter if you have a NAS or a USB drive connected. Both sources will be symlinked to this folder automatically, if you use the Webinterface of RaspyFi.
  2. The path /var/www/ is the standard webserver path of Linux. I just added an subfolder, so i doesn't mess up the built in Web-Interface structure. You can also name the new webserver path "covers" (/var/www/covers). The built in webserver nginx will delivers the covers, if you query them correctly.

Some background infos: Mpod knows from MPD which file is actually played. It retrieves from MPD the indirect path and query the webserver with the same path for the cover Art e.g.

  • By MPD played song: /var/lib/mpd/music/NAS/Library/Artist/Album/Song.flac
  • Mpod knows only the indirect path: NAS/Library/Artist/Album/
  • For the Cover Art Mpod just add the configured URL and the filename of the Cover Art: http://[Your RaspyFi IP]/Music/NAS/Library/Artist/Album/folder.jpg

We just symlinked the whole MPD music path. So the webserver of RaspyFi delivers correctly the covers. There is no overhead, because no webserver script is running. Mpod is quering the covers only one time and stores them in the local cache together to the Artist, Album and Song informations. That makes Mpod so blazing fast for scroling and filtering.

Sorry for my bad english. If something is not understandable feel free to ask again, i try to rephrase/explain it again.

]]>
Fri, 01 Nov 2013 02:07:34 +0100
arginine on WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1669 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1669 Hello rowar,

Thanks for this post !!

two things :
- Does your music is on a NAS connected to raspyfi or your music is on an usb drive ? (by reading your post I understood that your music is in /var/lib/mpd/music)

- from where this /var/www/Music is coming from (nginx?)

F

]]>
Thu, 31 Oct 2013 15:26:51 +0100
Rowar on WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1656 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1656 Hello,
it's my first post and contact to this really great project. To display the Album Art in Mpod, i added a softlink from the musik folder to the www folder of the webserver.

On RaspyFi:
1. SSH on RaspyFi
2. ln -s /var/lib/mpd/music /var/www/Music

On Mpod:
1. Configured players -> [Your Player] -> Advanced:
2. Local Cover Art -> URL: http://[Your RaspyFi IP]/Music (example: http://192.168.178.11/Music)
3. Local Cover Art -> Cover Filename: [Your picture name] (example: folder.jpg)
4. Save -> Done. Restart Mpod completely

The Cover Filename is case sensitive. However you need your library sorted by albums and in each album directory one picture for the Album Art.

I encounter some blank Album Arts in the "Artist" and the "Album" section. In "Now Playing" and "Song" all covers are displayed correctly. I think it's becaues a problem with "Varios Artists" and some strange album titles.

I hope it helps somebody...

]]>
Thu, 31 Oct 2013 02:56:13 +0100
Francis on WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1651 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1651 Hello Kikers56,

did you were using MPOD before (and manage to see the covers) ?

Can you post your modified nginx conf ? I would be very interested

]]>
Wed, 30 Oct 2013 14:12:45 +0100
kickers56 on WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1605 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1605 Hi,

I would like the same help, I am using mpod and it cannot fetch the local artwork.

I have symlinked the folder where my music is stored to the webdirectory, and set up nginx to autoindex those files so mpod can filter through to find the folder.jpg's.

I can filter through using a regular browser but mpod will not pick them up. Do the folder.jpg covers have to be a certain size to show up in mpod maybe?

Thanks

]]>
Fri, 25 Oct 2013 12:42:01 +0200
kickers56 on WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1604 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1604 Hi,

I would like the same help, I am using mpod and it cannot fetch the local artwork.

I have symlinked the folder where my music is stored to the webdirectory, and set up nginx to autoindex those files so mpod can filter through to find the folder.jpg's.

I can filter through using a regular browser but mpod will not pick them up. Do the folder.jpg covers have to be a certain size to show up in mpod maybe?

Thanks

]]>
Fri, 25 Oct 2013 12:40:18 +0200
rodgersan on WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1596 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1596

antonybunn said

I'm having the same issues, all my albums contain folder.jpg but neither mpdroid, mpad or mpod can fetch local artwork.

Sorry for the stupid question but have you tried following mpdroid instructions?

http://www.raspyfi.com/forum/r.....elivery-1/

Regards,

EDIT: just realised you are not using it... maybe instructions may help.

]]>
Thu, 24 Oct 2013 20:24:53 +0200
antonybunn on WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1570 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1570 I'm having the same issues, all my albums contain folder.jpg but neither mpdroid, mpad or mpod can fetch local artwork.

]]>
Wed, 23 Oct 2013 01:09:39 +0200
rodgersan on WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1464 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1464 Hi there,

No help there from me sorry. I have no idea about previous version of raspyfi but there is a file called /var/www/inc/coverart.php which looks like a flac tag parser and last fm coverart fetcher.

Regards,

]]>
Sun, 13 Oct 2013 20:21:36 +0200
peterlicht on WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1459 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1459 Same problem here.
My post was: http://www.raspyfi.com/forum/r.....-delivery/
Nobody seems to have a solution.

peter.Cry

]]>
Sun, 13 Oct 2013 15:15:06 +0200
arginine on WebServer for CoverArt Delivery ? http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1375 RaspyFi install and troubleshooting http://www.raspyfi.com/forum/raspyfi-install-and-troubleshooting/webserver-for-coverart-delivery-1/#p1375 Hello,
I'm using Raspyfi 1.0 final and it works great. I've seen that the web server installed on raspyfi is nginx.

There is one thing I cannot figure out is the "WebServer for CoverArt Delivery" : this would make MPOD and MPAD nicer by providing the local address of the music folder (mounted from a NAS) which is containing the music files and the music covers. Then covers will be displyed in MPOD/MPAD. I've used the fantastic apple scripts from http://dougscripts.com/itunes/ to generate the cover.jpg files in each of my music folders.

In Raspyfi beta, I install lighttpd to "serve" the music folder and it works like a charm. I would like to not adding lighttpd on the top of raspyfi : it's not clean solution. I noticed that the covers could be retrieved from Amazon in MPOD and MPAD but this is not working very well and it makes mistakes for old music and I prefer to handle the covers myself.

So in the Raspyfi final, my guess for having the "WebServer for CoverArt Delivery" working is "just" adding correctly a server block in nginx (i've tried without any success).

Any input from a nginx expert would be appreciated or if someone find out how to have this "WebServer for CoverArt Delivery " feature working on Raspyfi final ... thanks to let me know

Francis

]]>
Sat, 05 Oct 2013 10:46:53 +0200