PDA

View Full Version : RealSlim plugin



Vidur Apparao
2004-04-11, 09:53
Matt,

Sorry for the delayed response. I've posted a reply to the RealSlim
discussion forum at
http://sourceforge.net/forum/forum.php?thread_id=1056306&forum_id=360362.
I'll be releasing v0.5 of the plugin in the next few days - it fixes
several problems with using RealSlim with SlimServer as a service. Stay
tuned!

--Vidur

On Apr 11, 2004, at 12:18 PM, Matt wrote:

> Greetings -
>
> I'm having trouble getting the RealSlim plugin working properly. I've
> posted
> a message on the developer's site but haven't gotten a response so
> I'll try
> here. My setup is as follows:
>
> Squeezebox Wireless
> WinXP
>
>
> I've installed the Rhapsody directory to the Slim plugins directory and
> installed the Rhapsody dll hook to its appropriate place. I've granted the
> Slim service the right to log on as Administrator (when I tried my own
> user
> account, the service refused to start) and I've enabled UPnP. Now
> here's the
> weird part. The RealSlim plugin appears on the web interface' plugins page
> and is enabled. However, when I browse the plugins menu directly on the
> Squeezebox with the remote, the plugin doesn't appear there. I've been
> trying for about 24 hours now. Multiple reboots, etc.
>
> Any suggestions?
>
> Thanks in advance -
>
> Matt

Mike Beranek
2004-04-13, 05:59
Curious - is there a plugin to play real audio streams without using
Rhapsody? I have found a favorite URL/livefeed.ram stream that I'd love to
hear over my SB.

Thanks for the remedial advice.

Mike Beranek


"Vidur Apparao" <slim (AT) hummus (DOT) com> wrote in
message news:40797823.60301 (AT) hummus (DOT) com...
>
> Matt,
>
> Sorry for the delayed response. I've posted a reply to the RealSlim
> discussion forum at
> http://sourceforge.net/forum/forum.php?thread_id=1056306&forum_id=360362.
> I'll be releasing v0.5 of the plugin in the next few days - it fixes
> several problems with using RealSlim with SlimServer as a service. Stay
> tuned!
>
> --Vidur
>
> On Apr 11, 2004, at 12:18 PM, Matt wrote:
>
> > Greetings -
> >
> > I'm having trouble getting the RealSlim plugin working properly. I've
> > posted
> > a message on the developer's site but haven't gotten a response so
> > I'll try
> > here. My setup is as follows:
> >
> > Squeezebox Wireless
> > WinXP
> >
> >
> > I've installed the Rhapsody directory to the Slim plugins directory and
> > installed the Rhapsody dll hook to its appropriate place. I've granted
the
> > Slim service the right to log on as Administrator (when I tried my own
> > user
> > account, the service refused to start) and I've enabled UPnP. Now
> > here's the
> > weird part. The RealSlim plugin appears on the web interface' plugins
page
> > and is enabled. However, when I browse the plugins menu directly on the
> > Squeezebox with the remote, the plugin doesn't appear there. I've been
> > trying for about 24 hours now. Multiple reboots, etc.
> >
> > Any suggestions?
> >
> > Thanks in advance -
> >
> > Matt

Steve Baumgarten
2004-04-13, 07:28
> Curious - is there a plugin to play real audio streams without using
> Rhapsody? I have found a favorite URL/livefeed.ram stream that I'd love
> to hear over my SB.

I did a step-by-step write-up on this a while back (for Windows):

http://lists.slimdevices.com/archives/discuss/2004-January/024192.html

The focus was on getting WMA streams to work, but toward the end it covers
getting Real streams to work as well (using the Tara plug-in for Winamp).

SBB

Mike Beranek
2004-04-13, 07:40
OK - I understand this approach, and actually use this method to encode live
radio broadcasts and stream them out. But is there a way to actually play a
real audio stream without having to re-encode to MP3 and redirect it thru
shoutcast/icecast?


"Steve Baumgarten" <sbb (AT) panix (DOT) com> wrote in
message news:22797.198.240.130.75.1081866480.squirrel (AT) mail (DOT) panix.com...
> > Curious - is there a plugin to play real audio streams without using
> > Rhapsody? I have found a favorite URL/livefeed.ram stream that I'd love
> > to hear over my SB.
>
> I did a step-by-step write-up on this a while back (for Windows):
>
> http://lists.slimdevices.com/archives/discuss/2004-January/024192.html
>
> The focus was on getting WMA streams to work, but toward the end it covers
> getting Real streams to work as well (using the Tara plug-in for Winamp).
>
> SBB

Steve Baumgarten
2004-04-13, 08:47
> OK - I understand this approach, and actually use this method to encode
> live radio broadcasts and stream them out. But is there a way to
> actually play a real audio stream without having to re-encode to MP3 and
> redirect it thru shoutcast/icecast?

I guess I punted on this -- reencoding at 320k seemed like an OK
compromise given that most live streams are well below any sort of
"audiophile" threshold. But I agree, it'd be nice to be able to avoid
this.

One possibility is to use something like Total Recorder to capture the
data direct at the sound driver level; it would then write this to WAV
files (you can tell it to write X minutes of data per file or what have
you); then you'd need a perl script to feed each of these files in turn to
the current playlist (and also clean up later, though you could probably
just do this via a task that blows away files older than X days). For
more money they will sell you their SDK, which I assume will let you get
at the sound data in a slightly more direct fashion, but that's more work
than I want or am able to do.

It's all somewhat messy. I wish I could use a FIFO file, as a Linux user
recently posted about; they were going right from their sound card to a
FIFO and were just able to point the Slimserver at that:

http://article.gmane.org/gmane.music.equipment.slimdevices.general/6940

Elegant and simple -- but I don't think Windows has a "mkfifo" command,
alas...

SBB

Peter Bowyer
2004-04-13, 08:51
Steve Baumgarten <sbb (AT) panix (DOT) com> wrote:

> Elegant and simple -- but I don't think Windows has a "mkfifo"
> command, alas...

Hmmm.. but you can write to a linux fifo from Windows over a samba share....
might work in a hybrid environment.....

/me Off to tinker.

Peter

Roy M. Silvernail
2004-04-13, 11:34
On Tue, 2004-04-13 at 11:51, Peter Bowyer wrote:
> Steve Baumgarten <sbb (AT) panix (DOT) com> wrote:
>
> > Elegant and simple -- but I don't think Windows has a "mkfifo"
> > command, alas...
>
> Hmmm.. but you can write to a linux fifo from Windows over a samba share....
> might work in a hybrid environment.....

(I smell fresh kludge.... :) Hey, watch the fifos in your music tree,
though. I was playing with a tmpfile.wav fifo and when I restarted the
server and it tried to scan that fifo, it hung up. I opened another
window and did 'echo > /mp3/test/tmpfile.wav' to break the deadlock, but
it got me thinking that the scan task probably shouldn't look for
metadata in fifos.
--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
Never Forget: It's Only 1's and 0's!
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com

Peter Bowyer
2004-04-14, 10:18
Roy M. Silvernail <roy (AT) rant-central (DOT) com> wrote:
> On Tue, 2004-04-13 at 11:51, Peter Bowyer wrote:
>> Steve Baumgarten <sbb (AT) panix (DOT) com> wrote:
>>
>>> Elegant and simple -- but I don't think Windows has a "mkfifo"
>>> command, alas...
>>
>> Hmmm.. but you can write to a linux fifo from Windows over a samba
>> share.... might work in a hybrid environment.....
>
> (I smell fresh kludge.... :)

Definitely :-)

Hey, watch the fifos in your music tree,
> though. I was playing with a tmpfile.wav fifo and when I restarted
> the server and it tried to scan that fifo, it hung up. I opened
> another window and did 'echo > /mp3/test/tmpfile.wav' to break the
> deadlock, but it got me thinking that the scan task probably
> shouldn't look for metadata in fifos.

Good point. It probably should have special processing - don't try to open a
fifo for reading except when told to play it.

Peter