Philip P. Ide

Author, programmer, science enthusiast, half-wit.
Life is sweet. Have you tasted it lately?

User Tools

Site Tools


blog:articles:raspberry:mpd_network

This is an old revision of the document!


MPD and NAS

I have Volumio on a Raspberry Pi 4, which I thin is fantastic software, but there re two gripes I have with it:

  1. Despite setting “Allow UI Statics Collection” to off, stats collection is still enabled
  2. In order to play music on the device I'm controlling it from (e.g. my phone), I have to pay

I can do without paying, I've paid enough and I'm on a tight budget but the stats collection gets up my nose. Whilst they may no longer collect UIS stats data and sen it to themselves, there are cookies from google analytics, google tag manager, facebook and paddle.com. Making me think my data is not being collected is a bad thing, and the fact that these cookie can track a lot more than 'how I use the player' is horrendous.

Time for something new.

MPD

I grabbed a spare micro SD card and installed a copy of DietPi on it (my favourite OS for headless Raspberry Pi's). Once the Pi was up and running, I did some basic configuration stuff (such as change default passwords and give the Pi a hostname), the created a music folder in

/mnt/samba

, where I could mount the share on my NAS that holds all my music.

Next up, I installed

O!MPD

, which installs MPD, MySQL, PHP, and the O!MPD web management system. You can choose another, DietPi has several you can install in its software catalogue. You can also choose which ebserver engine you want: I chose nginx.

My music folder is:

/mnt/samba/music

, so then I used the DietPi-Drive_Manager to mount my share into that folder. O!MPD barfed a few times trying to access that folder, and the best fix I found was to add mpd to the dietpi group. I'm sure someone will tell me that's not the best way, but I had to get it working, and this did the trick.

    sudo usermod -a -G dietpi mpd
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies

Discussion

Enter your comment:
B Y S M W
 
blog/articles/raspberry/mpd_network.1714856973.txt.gz · Last modified: 2024/05/04 21:09 by Phil Ide

Except where otherwise noted, content on this wiki is licensed under the following license: Copyright © Phil Ide
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki