how to set up a music system with linux on a local network
debian, howto, music July 15th, 2007This is intented as a howto for configuring a machine to share and play music on the local network. In houses, social centers, bars, we always have the need of a system to organize, play share music.
How can we do that in Debian?
mpd - ncmpc - jinzora is the answer! with this combination you are going to have access to:
- Web server to administer, improve, order your music collection
- Console client for the nerd of the house / social center

- A permanent daemon that runs on your machine since you start it until you turn it down.
mpd Music player daemon
ncmpc: mpd console client
jinzora: php/mysql based music library manager
Prepare the machine - Sound
Your machine has to be able to play sound and be connected to a local network (heh…). In my configuration I use ALSA around the system, but you can use also other daemons that go with mpd.
Howto install mpd and the programs and libraries it needs. usually is just apt-get install mpd ncmpc
Prepare the machine - Web server
For installing jinzora, we need a LAMP install.
Don’t forget the gd library, for being able to have the pretty thumbnails of the CDs.
apt-get install php5-gd
Once you’ve done it, install Jinzora.
The process is simple, has a web interface.
You finish with a great music library:
I want to be able to edit and improve the tags of my music, so I edited the file services/settings.php on the jinzora dir and added the line
$allow_id3_modify = “true”;
mpdscribble
Download mpdscribble (http://www.frob.nl/scribble-download.html) debian package, and follow the instructions.
Add your last.fm user. ( you can get a username here: https://www.last.fm/join/ )