Topic: Streaming fails...

I just got my chumby on Friday!!!

I'm trying to get it to stream for one of few different radio stations.

on the cmd line, I've tried:

chumby:~# btplay http://128.175.76.123:7800/
btplay v1.08
Source/Core/BltStream.c(861): [bluetune.core.stream] 1194812632:975 INFO: Stream::SetInput = name=http://128.175.76.123:7800/
Source/Plugins/Inputs/Network/BltHttpNetworkStream.cpp(94): [bluetune.plugins.inputs.network.http] 1194812633:73 INFO: HttpInputStream::GetMediaType - Content-Type = audio/mpeg
Source/Plugins/Outputs/Alsa/BltAlsaOutput.c(374): [bluetune.plugins.outputs.alsa] 1194812633:93 WARNING: AlsaOutput::Configure - set 'channels' (1) failed (-22)
BtPlay:: final result = -1
BtPlay::main - clean exit
chumby:~#

That's an mp3 stream for the University of Delaware's college station.

Any ideas on how to get this to play?

Thanks,
John

Re: Streaming fails...

Yeah - we're looking into that.

It's not a problem with streaming, it appears to be a driver problem handling mono streams (note the error mentioning setting channels to '1').

Re: Streaming fails...

Here's something to try - add a parameter to force rate conversion on the stream:

btplay --output=alsa:plug:dmixer http://128.175.76.123:7800/

Please let me know if that works for you.

Re: Streaming fails...

Duane wrote:

Here's something to try - add a parameter to force rate conversion on the stream:

btplay --output=alsa:plug:dmixer http://128.175.76.123:7800/

Please let me know if that works for you.

This method also resolves playing audio sources that use sample rates other than 44.1kHz.

Re: Streaming fails...

Duane wrote:

Here's something to try - add a parameter to force rate conversion on the stream:

btplay --output=alsa:plug:dmixer http://128.175.76.123:7800/

Please let me know if that works for you.

It works...with some room for improvement, I was trying to stream http://207.245.67.204:80/ and it still seemed to have the occasional popping noise.   The stream http://207.245.67.206:80/ also has some clicking issues making it sound like it was a record player.

Re: Streaming fails...

Thanks.

Re: Streaming fails...

Duane wrote:

Here's something to try - add a parameter to force rate conversion on the stream:

btplay --output=alsa:plug:dmixer http://128.175.76.123:7800/

Please let me know if that works for you.

Ah, the glory of it!  It works great!

I can finally get my favorite radio station to wake me up in the morning again.  I'm on the brink of being able to get it over the air, but only with a decent antenna, which is pretty much non-existent in anything with an alarm.

John

Re: Streaming fails...

this flag also allows http://scfire-ntc-aa04.stream.aol.com:8 … m/1062.mp3 (npr) to play.

Hoorah!

Re: Streaming fails...

Cool- I was looking about here to figure out why my music was by the Chipmunks. Added the rate trick to the Wiki.

Re: Streaming fails...

That flag was also necessary for WNYC FM (NPR in New York City).

btplay --output=alsa:plug:dmixer http://wnycfm.streamguys.com/

I should have realized, of course, because, as Ken pointed out, it's necessary for any stream that's not 44.1Khz.

This particular stream gets a tad choppy from time to time, but I'm going to leave it up for a while.