Help with Cover Art in Mpad for Voyage MPD server

0 Members and 1 Guest are viewing this topic. Read 4520 times.

dnewcomer

  • Jr. Member
  • Posts: 30
Help with Cover Art in Mpad for Voyage MPD server
« on: 10 Oct 2011, 11:08 pm »
can anyone help ? according to this link http://www.katoemba.net/makesnosenseatall/2011/03/05/cover-art-in-mpod-and-mpad/  to get cover art you need a webserver, which I think Voyage MPD has, (lighttpd) ,  I think the link explains how to configure Mpad, but I don't have a clue what to do on the MPD server side to make this work ?

thanks

rlee8394

Re: Help with Cover Art in Mpad for Voyage MPD server
« Reply #1 on: 11 Oct 2011, 11:53 am »
The /etc/httpd/conf.d/mpd.conf file should already be configured. The alias for /music/ should point to "/storage/music/flac/" if that is where you have your music files. In the mPad application, go to the server config and enter the address of your vortexbox server with the music folder,e.g., //http://vortexbox/music/

That should do it.

Ron

dnewcomer

  • Jr. Member
  • Posts: 30
Re: Help with Cover Art in Mpad for Voyage MPD server
« Reply #2 on: 13 Oct 2011, 12:04 am »
I do not have a folder /ect/httpd .
maybe my question should have been, can you configure the http server in MPD to provide cover art to MPAD?
 if not, how would you configure  "lighttpd" to do it ?  I do have a folder/file  /etc/lighttpd/lighttpd.conf

rlee8394

Re: Help with Cover Art in Mpad for Voyage MPD server
« Reply #3 on: 13 Oct 2011, 05:13 am »
Actually, you need to find the file mpd.conf, wherever it resides. Make sure that the alias exists for /music/. Then you need to have the album art in a file called cover.jpg or other similar name. That file should exists in every music artist folder. When configuring the MPad option for album art, you may need to enter the IP address of your server. Also, don't forget the trailing slash after /music/.

Ron

Magnum

  • Jr. Member
  • Posts: 12
Re: Help with Cover Art in Mpad for Voyage MPD server
« Reply #4 on: 4 Nov 2011, 07:10 am »
I just came came here by accidence and remembered I have an old login here.
Ron, you are clearly wrong on this matter. MPD does NOT server coverart. You need to configure a http server to do that.

The next easiest would be to install ruby and gem, then install ruby-audioinfo.
Apt-get install ruby gem
gem install gem install ruby-audioinfo

Download this script http://hpcgi3.nifty.com/yo_kubota/downlog.cgi?data/mpodjacket.tgz, untar it to  /usr/bin .
Then just write "mpodjacket.rb -r /home/mpd -m /Music -p 8888 -s Folder.jpg" (if /home/mpd/Music is your music folder)
This method can extract embedded cover art.

If you just need to serve Folder.jpg you can just use the already installed lighttp as it is only used for the incredibly useless Voyage webgui.
edit the /etc/lighttp/lighttd.conf as follows (or make a backup first if you want)
type vi /etc/lighttpd/lighttpd.conf (or apt-get install nano, if you are not used to vi)

Change these lines:
server.document-root        = "/var/www" <-- change this to your music folder
My music is at "/Music" so I use [server.document-root        = "/Music"]

server.dir-listing          = "enable" <--change this to disable if you dont want directory browsing
lighttpd will follow symlinks as standard. You might want to comment out all the lines concerning php at the end of the config-file but you can also just leave it be.


Then just write
/etc/init.d/lighttp stop
/etc/init.d/lighttp start

or just reboot

Remember that there is a difference between Folder.jpg and folder.jpg. mPod will fetch either one, but not both.
« Last Edit: 4 Nov 2011, 02:30 pm by Magnum »