mitrih;587640 Wrote: > > I tried to execute it from the shell, and it locks to the station but > no volume comes out ( which is exactly what I get in SC). I removed the > -af and -ao options, and things started working. > > I am not sure who generated those options, ( the rate shows as 0 wma on > SC), but it is not a security issue, it is a simple options issue that > are fed incorrectly to the script.
The options are correct to work with SBS. .You forget that the mplayer stream has to be routed through SBS not the OSX audio subsystem. The "-af" option ensure that mplayer output a 44.1kHz 2 channel stream which SBS expects any other speed or a single channel and it will not play. The URL you want to play through SBS is a 32kHz stream. I think you will find you can run the command line with the "-af" option. The "-ao" option redirects the decoded WMA stream into /dev/fd/3 which is then redirected to stdout (the " exec 3>&1" in the script) which the flac process later picks up, compresses and then passes onto SBS. From a command line since you did not specify what to to with /dev/fd/3 you heard no audio. In an earlier post > I tried to increase the station acquisition time to max I'm not sure what you are adjusting but the long delay issue is because mplayer has been set to use a cache of 128kbytes and the stream is a 32kHz stream which means it will take about 20-30 secs to fill the buffer before it starts playing. This could cause problems if you SBS timeout is less than 20. You should try a fast WMA stream through SBS just to be sure. For example http://somafm.com/wma128/groovesalad.asx -- bpa ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=83086 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
