1

How do I use Volumio's webserver to serve both its WebUI and Album Art?

On a Pi running Volumio, I want to configure MPD clients controlling it to show album cover art for browsing. (It's a must-have for Wife Acceptance Factor.) Volumio uses its server for the WebUI. Some clients will use a .jpg in each album's directory as cover art, but it needs a URL.

The MPD server uses port 6600. MPD clients can use a different port to access images, typically 80.

Is there a way to configure Apache2 to server two separate "sites" on two different ports? (I expected to see a "sites-enabled" directory at /etc/apache2, but nope.)

1

Workaround without touching Apache2:

Open up directory permissions and Symlink the mnt location into Volumio's website folder:

  1. Access a terminal and:

    chmod -R 777 /var/www/ && ln -s /var/lib/mpd/music /var/www/music

  2. In MPoD Connection Settings:

    • URL http://Your.pi.ip:80/music
    • Filename: Case sensitive.

(Tested this with a local mount (usb) and network share (nas).)

Reference and Thanks: Mpod/Mpad cover art and Volumio.

1
  • Update: This works with Volumio 1.55, but not the current release. Current release is a Volumio 2 Beta that uses a different web server with different configurations. – John Sep 20 '16 at 19:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.