Day & Night Sampler - a raspberry pi mpd mini boombox Part 8: Controlling your Music

See Step 7, Building the Box


One way to control mpd music on a network is with the MPoD app, available for IOS. There are similar mpd clients on Android.
MPod for I0S is nice if you have multiple players (boombox, desktop, laptop). If you have avahi/zeroconf configured properly,
MPod can discover your players. You can also add a player manually to MPoD.
To configure on a raspberry pi:
  • Make sure that the line in /etc/mpd.conf that says "zeroconf_enabled' is set to "yes"
The following steps are from: (http://richddean.com/post/36677503186/raspberry-pi-setup)

  • - Install Avahi
      sudo apt-get install avahi-daemon
      sudo insserv avahi-daemon
    - Create a config file for Avahi
      sudo nano /etc/avahi/services/multiple.service
    Add the following lines in the nano editor.
     
     
     
          %h
         
              _device-info._tcp
              0
              model=RackMac
         

         
              _ssh._tcp
              22
         

     
  • Apply the new configuration:
    • sudo    /etc/init.d/avahi-daemon restart
  • restart mpd:
    • sudo /etc/init.d/mpd restart
Personally, I prefer the instant gratification of an IR remote, which is included in these build instructions. The remote will change a station quickly, allow fairly quick volume up/down and other behaviours on your boombox or music player.

Let me know in the comments if you build one of these. I hope you do, and use your own unique creativity to mod it up! 
   

Comments

Popular Posts