This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Audio output on remote host w/ amarok?

Tags: None
(comma "," separated)
lodp
Registered Member
Posts
5
Karma
0
I'd like to stream audio to a USB audio dongle directly on my router. It's working with xmms and mplayer (on the commandline), but I haven't gotten it to work with amarok (but i read here that it should be possible: http://wl500g.info/showthread.php?t=4150).

Is there a way to do this in amaroK? In the preferences, I went to the engines tab and selected Esound (as my router runs the Esound daemon, and both mplayer and xmms work if I select Esound output and specify the remote host (192.168.1.1, port 16001)
User avatar
dangle_wtf
Moderator
Posts
1252
Karma
0
As it suggests using gstreamer as the engine in amarok, you're probably not going to have much luck for a while. This engine isn't included in current versions, so you'd either need to downgrade to 1.3.9 or compile amarok yourself from svn, performing the code modifications required to enable it (which I don't have handy).


"There are two theories to arguing with women. Neither one works."
.
If men could get pregnant, we'd learn the true meaning of "screaming nancyboy wuss"
lodp
Registered Member
Posts
5
Karma
0
thanks for the input -- downgrading to 1.3.9, well, i'll give it a shot. will i find some field for entering the IP in the preferences for the gstreamer engine?

and there's no way to do this with any of the currently supported engines?
Martin Aumueller
KDE Developer
Posts
219
Karma
0
xine has an esd output plugin. did you try that?
lodp
Registered Member
Posts
5
Karma
0
Thanks -- I selected "esd" in the xine engine options in amaroK, but that doesn't work -- presumably because you can't specify the device IP (which would be 192.168.1.1). I couldn't find a field for that in the preferences (I tried entering it in the field "HTTP-proxy for Streaming", but that didn't work).

In mplayer, for instance, you just add the argument "-ao esd:192.168.1.1".

Is there a way of configuring the xine engine independent of the player that uses it?
Martin Aumueller
KDE Developer
Posts
219
Karma
0
'export ESPEAKER=esd:192.168.1.1' before launching amarok should help.
lodp
Registered Member
Posts
5
Karma
0
I tried that -- punched it in in Konsole and ran amaroK from Konsole then (set to use esd as output plugin in the session before). Now it tells me "xine was unable to initialize any audio drivers" when starting, and there's no sound.

I also tried "esddsp amarok" after running the command you suggested, with the same result.


EDIT:
I GOT IT! It's actually

Code: Select all
export ESPEAKER=inet.addr.of.host:port

without the "esd:"

This is AWESOME, you're me main man, Martin.

Now, is this change in parameters permanent, or will I have to run that command every time?

Last edited by lodp on Wed Nov 08, 2006 8:48 pm, edited 1 time in total.
User avatar
marcel
Registered Member
Posts
595
Karma
0
OS
You can add this export statement either to your ~/.bashrc (thus esd will always stream to this IP)
or write a very short script amarok.sh with the lines "export ..." and "amarok" and use this to start amarok (I hope my explaination is understandable and not too brief).


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]