PDA

View Full Version : How to Add Additional Real Audio Stream to AlienBBC??



Keith O'Brien
2004-11-18, 21:28
I have been able to get Alien BBC to work without problems and would like to
add an additional Real Audio stream. There is some mention of this on the
Alien BBC site but it doesn't go into detail. Specifically I would like to
play the following:



http://www.nj.com/ram/wbgo/wbgo.rpm



If there is a better or easier way to play this real audio stream on the
Slim, please let me know. Any help or pointers would be appreciated.



Thanks

Jules Taplin
2004-11-20, 12:03
Hi Keith.

Right. There are two approaches to this:

1. An ugly hack, but one that works. Create a file in your _NORMAL_
playlists directory, called 'WBGO.pls'. Fill it with the following content:

[playlist]
numberofentries=1
File1=http://localhost:5123/RealAudio/http://www.nj.com/ram/wbgo/wbgo.rpm

Selecting that from the playlists menu will ask the transcoder to get
the stream for you, and serve it to slimserver. I'll leave working out
how to change it for other streams as an exercise for you ;)

2. (Much easier) - Navigate to Alienstream, and select 'other streams'.
Look for WBGO *grin*.

And before you start feeling daft... no... it wasn't there before... but
adding streams that people like _IS_ what the Other Streams menu is
for... so I added it to the list ;)


-- Jules

Keith O'Brien wrote:

> I have been able to get Alien BBC to work without problems and would
> like to add an additional Real Audio stream. There is some mention of
> this on the Alien BBC site but it doesn’t go into detail. Specifically
> I would like to play the following:
>
> http://www.nj.com/ram/wbgo/wbgo.rpm
>
> If there is a better or easier way to play this real audio stream on
> the Slim, please let me know. Any help or pointers would be appreciated.
>
> Thanks
>
>------------------------------------------------------------------------
>
>

Jack Coates
2004-11-20, 19:28
....
> 2. (Much easier) - Navigate to Alienstream, and select 'other streams'.
> Look for WBGO *grin*.
>
> And before you start feeling daft... no... it wasn't there before... but
> adding streams that people like _IS_ what the Other Streams menu is
> for... so I added it to the list ;)
>
....

ooh, never realized that was a dynamic list. Nicely done :)

--
Jack At Monkeynoodle.Org: It's A Scientific Venture...
"Believe what you're told; there'd be chaos if everyone thought for
themselves." -- Top Dog hotdog stand, Berkeley, CA

Jules Taplin
2004-11-23, 08:48
Hehe.

Actually... given it relies on me to update it, 'Dynamic' is a bit
strong. 'Distracted and Fundamentally Lazy' might be nearer the mark ;)


-- Jules


Jack Coates wrote:

>...
>
>
>>2. (Much easier) - Navigate to Alienstream, and select 'other streams'.
>>Look for WBGO *grin*.
>>
>>And before you start feeling daft... no... it wasn't there before... but
>>adding streams that people like _IS_ what the Other Streams menu is
>>for... so I added it to the list ;)
>>
>>
>>
>...
>
>ooh, never realized that was a dynamic list. Nicely done :)
>
>
>

droberts
2005-06-28, 16:56
I know this thread has grown cold, but I am trying to do exactly what Keith was trying to do, namely add a stream to WBEZ radio:

http://www.wbez.org/audio_library/ram/livefeed/livefeed.ram

I tried making a playlist in the normal directory:

[playlist]
numberofentries=1
File1=http://www.wbez.org/audio_library/ram/livefeed/livefeed.ram

and I also tried:

[playlist]
numberofentries=1
File1=http://localhost:5123/RealAudio/http://www.wbez.org/audio_library/ram/liv\efeed/livefeed.ram

When I go to either of the two playlists above, I get "Nothing" in the now playing display and no audio output. I have tried the example that Keith was trying:

[playlist]
numberofentries=1
File1=http://www.nj.com/ram/wbgo/wbgo.rpm

and this connected okay. All BBC programming works fine. I am new to real player so maybe there is something different between a .ram and .rpm file?

Any advice would be appreciated. Thanks.

mherger
2005-06-28, 22:50
> I tried making a playlist in the normal directory:

Go to "internet radio" in the server's help section. Then enter your url
in the "tune in" field. If this works, you can then save the playlist from
the status panel.

--

Michael

-----------------------------------------------------------
Help translate SlimServer by using the
StringEditor Plugin (http://www.herger.net/slim/)

droberts
2005-06-30, 10:22
I tried as you suggested (using the help/internet radio option to enter the location of the real audio stream). I must be entering correct location of the stream or some setup isn't working for the realaudio transcoding (I understand it is converted to WAV and then to MP3). AlienBBC stations work fine.

Thanks for the idea.

Triode
2005-06-30, 11:24
Alien can cope with simple rtsp streams defined within the ram/rpm metafile. In the case of the url you give it seems to refer to an smil file which then refers to the rtsp stream.

You could try reading the metafiles and entering the rtsp stream in the web page. (download by saving to disk and then reading with a text editor) This isn't working for me at present though.

Triode
2005-06-30, 12:58
Keith,

Follow up to previous - I have it working here. Assuming you are happy to edit a couple of files:

1) edit custom-types.conf to include smil in the list of playlist types, so it says the following on the second line:
rtsppl rm,ram,rpm,smil ? playlist

2) edit Plugins/Alien/RTSP.pm:

remove the line:
next if (!($entry =~ /^rtsp:/));

and replace with:
next if (!($entry =~ /rtsp:/));
if ($entry =~ /(\")(.*)(\")/ ) {
$entry = $2;
}

droberts
2005-07-01, 10:54
Thanks for the patch. I have tried to implement the changes you suggested. I restarted slimserver and then tried to tune into the URL: http://www.wbez.org/audio_library/livestream/live.smil. It *looks* like there aren't any problems (before when I *knew* there were problems, Now Playing would be "Empty") but no sound comes out.

I tried both tuning in with the "Help/Internet Radio" and making my own playlist, but again is says it is playing that URL, but nothing comes out.

Did you tune into this specific feed?

[playlist]
numberofentries=1
File1=http://www.wbez.org/audio_library/livestream/live.smil

Thanks for the work on this. I can't wait to get it working. I think this is close.

Triode
2005-07-01, 11:28
Try this alternative:

next if (!($entry =~ /^http:|rtsp:/));
if ($entry =~ /^<(.*)\/>/ && $entry =~ /(\")(.*)(\")/ ) {
$entry = $2;
}

Please post the output of --d_parse --d_source if you have problems.

droberts
2005-07-02, 06:16
I made the change and it still didn't work to get any sound out. Here is the output of the of the log (with --d_parse --d_source) you suggested (attached). Hope this helps. Thanks so much.

-Doug

Triode
2005-07-02, 06:26
That looks like it is working to me. It is passing the url to mplayer. You could try removing "-realy-quiet" from the mplayer line to see more debugs from it.