defsdoor Wrote: 
> With some debug turned on etc.. it seems that mplayer cannot write to
> /dev/fd/3
> 
> Processes are spawned ok though - 
> 
> 1005     21217 21213  0 17:39 ?        00:00:00 mplayer -verbose 0 -vc
> null -vo null -cache 128 -af volume=0,resample=44100:0:1,channels=2 -ao
> pcm:nowaveheader:file=/dev/fd/3
> rtsp://rmlivev8.bbc.net.uk/farm/*/ev7/live24/radio2/live/r2_dsat_g2.ra
> 
> 1005     21211 21209  0 17:39 ?        00:00:00 /usr/bin/flac -c
> --endian=little --channels=2 --sign=signed --bps=16 --sample-rate=44100
> --compression-level-0 -
> 
> Checking audio filter chain for 44100Hz/2ch/s16le ->
> 44100Hz/2ch/s16le...
> AF_pre: 44100Hz/2ch/s16le
> [AO PCM] File: /dev/fd/3 (RAW PCM)
> PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
> [AO PCM] Info: fastest dumping is achieved with -vc dummy -vo null
> PCM: Info: to write WAVE files use -waveheader (default).
> [AO PCM] Failed to open /dev/fd/3 for writing!
> Could not open/initialize audio device -> no sound.


in Bin/mplayer.sh, change the first line from

#!/bin/sh

to

#!/bin/bash

I still don't understand why this works, but it does, and I have a
forehead-shaped dent in the wall from finding it. (I'm not the first to
find it either, it's easy to Google for the answer once you already know
it.)

I have a Debian package of AlienBBC working alongside the Debian
package for Slimserver. They'll be available as soon as the copyrights
are sorted.

Cheers,

Simon.


-- 
simonkelley
------------------------------------------------------------------------
simonkelley's Profile: http://forums.slimdevices.com/member.php?userid=2886
View this thread: http://forums.slimdevices.com/showthread.php?t=19259

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to