View Full Version : AlienBBC / FreeBSD 5.x

Michael Watkins
2005-01-30, 10:00
Re latest no transcoder version of AlienBBC:

In slimserver-convert.conf -aofile /dev/fd/3 will create problems on newer
FreeBSD systems which define fd/[0-2] by default. I noted with output from
-d_plugins that /dev/fd/3 was not writable by mplayer and discovered the
convert directives:

# AlienBBC - unix version
rtsp wav * *
[mplayer.sh] -really-quiet -vo null -cache 128 -af
resample=44100:0:1 -ao pcm -nowaveheader -aofile /dev/fd/3 $FI
rtsp mp3 * *
[mplayer.sh] -really-quiet -vo null -cache 128 -af
resample=44100:0:1 -ao pcm -aofile /dev/fd/3 $FILE$ | [lame] -

I confess to not being familiar with the use of /dev/fd but a little
google and I found:


mount -t fdescfs fdescfs /dev/fd

et voila, BBC / AlienBBC working on FreeBSD 5.2.1 (and no doubt all 5
series FreeBSD).

BUT, what I really want ;-) is to get WMA / MMS streaming working. My test
case is CBC radio here in Canada:

The old transcoder version I was able to get working with a playlist like

#EXTINF:-1,CBC Radio One Vancouver

But no joy in the new AlienBBC.

mplayer http://wm.cbc.ca/cbcr1-vancouver

mplayer mms://wm.cbc.ca/cbcr1-vancouver

Both function.

I've tried all sorts of different url combos which mplayer itself is able
to handle. its not clear to me that mplayer.sh is even being passed these
entries either. Whether I tune from the Internet Radio interface in
slimserver or select a playlist, the response is one of two things:


output from -d_parse:
2005-01-30 08:07:32.7201 parsed 2 items in m3u playlist
2005-01-30 08:08:04.5252 parsed 2 items in asx playlist

If I dig in the response from that url using wget and submit the target
item, the following Backtrace appears. Any ideas?

2005-01-30 08:02:20.9769 Non-URL passed to updateCacheEntry::info
2005-01-30 08:02:20.9773 Backtrace:

frame 0: Slim::Music::Info::updateCacheEntry
(/usr/local/slimserver/Slim/Music/Info.pm line 2201)
frame 1: Slim::Music::Info::readTags
(/usr/local/slimserver/Slim/Music/Info.pm line 1318)
frame 2: Slim::Music::Info::info
(/usr/local/slimserver/Slim/Music/Info.pm line 1378)
frame 3: Slim::Music::Info::album
(/usr/local/slimserver/Slim/Web/Pages.pm line 811)
frame 4: Slim::Web::Pages::buildPlaylist
(/usr/local/slimserver/Slim/Web/Pages.pm line 734)
frame 5: Slim::Web::Pages::playlist
(/usr/local/slimserver/Slim/Web/HTTP.pm line 681)
frame 6: Slim::Web::HTTP::generateHTTPResponse
(/usr/local/slimserver/Slim/Web/HTTP.pm line 598)
frame 7: Slim::Web::HTTP::processURL
(/usr/local/slimserver/Slim/Web/HTTP.pm line 474)
frame 8: Slim::Web::HTTP::processHTTP
(/usr/local/slimserver/Slim/Networking/Select.pm line 116)
frame 9: Slim::Networking::Select::select (./slimserver.pl line 455)
frame 10: main::idle (./slimserver.pl line 398)
frame 11: main::main (./slimserver.pl line 870)