SlimStuff Home Squeezebox Server Plugins Plugins Forum

AlienBBC on SlimNAS

SlimNAS comes with all the binaries needed to run AlienBBC: mplayer, lame and flac are pre-installed. mplayer included with SlimNAS is patched to output the stream to stdout rather than to a file or
a pipe. That allows multiple mplayer instances to be run in parallel (e.g. to feed different streams to different clients at the same time). But it requires some minor tweaks to AlienBBC's conversion configuration file.

 

FlipFlip created a patch to mplayer for his "SlimServer On DiskStation" (SSODS). I'm using his modifications for SlimNAS as well (thanks a lot, Flip!). The instructions on this page are derived from his SSODS readme file.

Please download and install AlienBBC as per its instructions for Linux. Untar the file into your SlimNAS slimserver folder. Then shut down SlimServer. Edit the Plugins/Alien/custom-convert.conf file as follows (Please note that the second line of each entry has been wrapped here to fit the screen - just put it on one single line):

rtsp wav * *
 [mplayer] -really-quiet -vc null -vo null -bandwidth 10000000 -cache 128
-af volume=0,resample=44100:0:1,channels=2
-ao pcm:nowaveheader:file=- $FILE$ 2>/dev/null
rtsp mp3 * *
 [mplayer] -really-quiet -vc null -vo null -bandwidth 10000000 -cache 128
-af volume=0,resample=44100:0:1,channels=2
-ao pcm:nowaveheader:file=- $FILE$ 2>/dev/null
| [lame] --silent -r -x -q $QUALITY$ -b $BITRATE$ - -
rtsp flc * *
 [mplayer] -really-quiet -vc null -vo null -bandwidth 10000000 -cache 128
-af volume=0,resample=44100:0:1,channels=2
-ao pcm:nowaveheader:file=- $FILE$ 2>/dev/null
| [flac] -cs --totally-silent --endian=little --channels=2
--sign=signed --bps=16 --sample-rate=44100 --compression-level-0 -
wma wav * *
 [mplayer] -really-quiet -vc null -vo null -cache 128 -af volume=0,resample=44100:0:1,channels=2
-ao pcm:nowaveheader:file=- $FILE$ 2>/dev/null
wma mp3 * *
 [mplayer] -really-quiet -vc null -vo null -cache 128 -af volume=0,resample=44100:0:1,channels=2
-ao pcm:nowaveheader:file=- $FILE$ 2>/dev/null
| [lame] --silent -r -x -q $QUALITY$ -b $BITRATE$ - -
wma flc * *
 [mplayer] -really-quiet -vc null -vo null -cache 128 -af volume=0,resample=44100:0:1,channels=2
-ao pcm:nowaveheader:file=- $FILE$ 2>/dev/null
| [flac] -cs --totally-silent --endian=little --channels=2 --sign=signed
--bps=16 --sample-rate=44100 --compression-level-0 -

The differences between this modified and the original versions are

  • [mplayer] instead of [mplayer.sh]
  • "file=-" instead of "file=/dev/fd/3"
  • added "2>/dev/null" to suppress too noisy logging

Save the configuration file and restart SlimServer. AlienBBC should now be up and running.

 
« back

Wikipedia Affiliate Button

   © 2003-2011 -

>