Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have used PulseAudio, but it sometimes works, sometimes it does not... Also my Rhythmbox doesn't play the songs sometimes and just hangs there paused. Is there a more stable option to stream and listen to music on my AirTunes?

share|improve this question
    
Another Suggestion: Try different players - like Totem. But if the issue still exists then its the plugin :( –  Micheal Harker Aug 6 '10 at 19:57
add comment

6 Answers 6

1) PulseAudio

We can define an existing AirTunes device (e.g. Airport Express) as an output audio sink for Pulse Audio by installing paprefs Install paprefs and pulseaudio-module-raop Install pulseaudio-module-raop and running Pulseaudio Preferences:

enter image description here

In the first tab Network Access tick "Make discoverable Apple AirTunes sound devices available locally".

As soon as the device is registered in the local network we can switch to this device from Sound Settings:

enter image description here

Choose the name you have registered your AirTunes device (e.g. "Wohnzimmer" in this example). Note that we can not switch the output while a media player is streaming to our soundcard. Pause or stop your player before changing output sinks. Streams will have a delay of about 3 to 4 seconds.


2): VLC

The vlc Install vlc media player claims to be able to stream audio via the RAOP protocol directly to an AirTunes device. However so far I was unable to achieve this with VLC 2.0 so I can't give you directions here.


3) Stream2ip

After downloading and installing the DEBIAN package for stream2ip the application needs to be set up for streaming to the Air Tunes device by running Preferences from the man window:

enter image description here

Select the device Airport Express and type in the IP (the port is optional) of the device. By choosing Autoconnect and a time interval >0 seconds the application will listen for the AirTunes device on the given IP to connect as soon as the device is ready:

enter image description here

The advantages of stream2ip over simply using Pulseaudio Sound Settings are:

  • Wait for a device to connect as soon as it is present.
  • Re-establish an interrupted connection.
  • No need to stop playback of a running media player to connect.
  • Restore previous output when the external device is turned off
share|improve this answer
    
None of these are working, unfortunately :/ –  RobinJ Apr 2 '13 at 14:26
    
@RobinJ: Unfortunately some receivers need the RAOP2 protocol, which is not yet available. –  Takkat Apr 2 '13 at 14:47
    
Yes, it seems like there really is no way to currently do this in Linux. –  RobinJ Apr 2 '13 at 14:52
add comment

ps3mediaserver should be able to stream music to your AirTunes.

share|improve this answer
add comment

I don't really think so if you are saying "I want to listen to my mp3's" because the plugin is closed-source so we cant control it. Sorry!

Any other format should be fine.

share|improve this answer
    
I'm sorry, I'm just used to saying mp3s when I'm referring to my digital music, but I have everything in AAC... –  Sergio Aug 6 '10 at 19:46
    
MP3 is not closed source.. It's just patented. se here: lwn.net/Articles/165985 –  Source Lab Aug 8 '10 at 23:27
add comment

There is an alsa driver for raop_play (http://raop-play.sourceforge.net/alsa_raoppcm.html) but it isn't included in the deb package and it hasn't been updated for a while. I've never had enough problems with PulseAudio to need it, but if you don't mind compiling from source you can give it a shot.

share|improve this answer
add comment

gstreamer-faad is plugin for playing mp4 dont know if thqat wil work with AACs... check out this post on the ubuntu forums: http://ubuntuforums.org/showthread.php?t=14242

share|improve this answer
add comment

More a comment than an answer, but I tried using Pulse Audio Preferences to stream to an Airtunes-capable Airport Express. The results were less than stellar. There's some buffering problems that caused it to not work as well as it should have worked, and I pretty much gave up on the idea for now.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.