Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

eikek/musicpds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MusicPDs – My mpds

This repository contains scripts and notes to automate most of my music box installations.

There are a few raspberry pis with mpd installed and a nice web-based frontend to mpd. This creates a multi-room audio setup.

Basics

The RPIs run DietPi linux distribution (which is based on raspbian).

Mpd is installed on all of them. There is one “master” mpd that builds the database and that runs the mpc4s frontend. All other mpd use the proxy plugin to connect to this master mpd instance. They use the same music directory to play files from, mounted via cifs.

Since they have different sound cards, different mpd.conf files are deployed. The music directory is mounted via samba from the local NAS to all mpds.

Installation

A new Pi needs to first install dietpi. Insert the SD Card and run:

scripts/flash.sh /dev/<sdcard>

It will download the dietpi image and copy it onto the card. When sshing into the machine the first time, you will be guided through the setup.

I choose the following Options:

  • SSH Server: OpenSSH (needed for scp)
  • Webserver: Nginx (only for the master-mpd)

Go to Dietpi-Config and configure the soundcard and other hardware (wifi etc).

Choose mpd from „Optimized Software”.

Run „Install”.

Customize

Go to config/global and check the settings. Every machine must be configured with a name and an IP address. The name of the "master mpd" machine must be specified since this machine gets more stuff installed. When everything looks ok, run

./mpds setup <name>

This will run necessary commands on the machine configured with <name>. Use special name all to run setup for all machines.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages