Flexion.Org
Bad grammar and typos for total strangers
Wiki › Slim Server
Wiki Index All Recent Edit Bottom

Slim Server

1.   Introduction
2.   Installing Slim Server
2.1   Add the SlimDevice Repository
2.2   Install Slim Server
3.   Mounting the Music
4.   Plugins
4.1   Music IP
4.2   Alien BBC
5.   Console CD Rippers
5.1   abcde
5.2   crip

Introduction

Slim Devices SlimServer is an application that will stream MP3 audio to any Squeezebox or Transporter and also other MP3 player on your network.

Installing Slim Server

I pretty much followed guide on the Slim Devices wiki...

...with some minor changes.

Add the SlimDevice Repository

As root, do the following...

 echo '## SlimServer 
 deb http://debian.slimdevices.com stable main ' > /etc/apt/sources.list.d/slimdevices.list

Install Slim Server

 apt-get update
 apt-get -y --force-yes install slimserver

Once installed I just connected to http://myslimserver:9000 to test it.

Mounting the Music

I have my music stored on an NFS export on my NLSU2. So, first job is to get access to it.

 apt-get install nfs-common
 mkdir -p /var/music
 echo 'slug:/home/public/Music    /var/music         nfs     defaults        0       0' >> /etc/fstab
 mount /var/music

Plugins

Music IP

Alien BBC

 apt-get install mplayer-nogui libdvdcss w32codecs
 cd
 wget http://www.x2systems.com/AlienBBC/alienbbc-linux-v1.06_6.5.tar.gz
 cd /usr/share/slimserver
 tar zxvf /root/alienbbc-linux-v1.06_6.5.tar.gz
 vi /usr/share/slimserver/Bin/mplayer.sh

Change /usr/local/bin to /usr/bin

 chmod 755 /usr/share/slimserver/Bin/mplayer.sh 
 /etc/init.d/slimserver restart

References

Console CD Rippers

I want to use a console CD ripper so I can rip my CDs directly to my Slim Server.

 apt-get install abcde distmp3 id3 id3v2 eyed3 normalize-audio vorbisgain mkcue mp3gain python-musicbrainz

abcde

A frontend program to cdparanoia, wget, cd-discid, id3, and your favorite Ogg/Vorbis, MP3, FLAC, Ogg/Speex and/or MPP/MP+(Musepack) encoder (defaults to oggenc). Grabs an entire CD and converts each track to the specified formats and then comments or ID3-tags each file, with one command.

With abcde you can encode several formats with one single command, using a single CD read operation. It also allows you to read and encode while not on the internet, and later query a CDDB server to tag your files.

 sudo aptitude install abcde id3 id3v2 cdda2wav distmp3 flac lame normalize-audio speex toolame vorbisgain vorbis-tools

References

crip

crip creates Ogg Vorbis/FLAC/MP3 files under UNIX/Linux. It is well-suited for anyone (especially the perfectionist) who seeks to make a lot of files from CDs and have them all properly labeled and professional-quality with a minimum of hassle and yet still have flexibility and full control over everything. Current versions of crip only support Ogg Vorbis and FLAC.

This script is special because it is the only one that I know that is capable of doing group vorbisgain/replaygain and/or normalization (adjust the volume to be as loud as possible without clipping/distortion) and group labelling/tagging, which makes it easy to allow a group of tracks to be treated as one piece. It can also trim off the silence at the beginning and end of these tracks/groups.

$Id: SlimServer,v 1.6 2008/07/12 12:22:04 martin Exp www-data $

Wiki Index All Recent Edit Top
 
Valid XHTML Valid CSS Hacker