264 comments on “RaopX

  1. Any way to stream to more than one AX ? When I start RaopX I get prompted to pick which but would be great if I could both like iTunes can. Perhaps I’m missing something obvious? Thanks.

  2. Pingback: Streaming von Mac zu Mac: Pfiffige Zusatzsoftware für AirPlay - NETZWELT

  3. After moving the file using the sudo command, the executable is in the App folder- great.
    BUT, I receive this:

    RaopX 0.0.4

    Searching for RAOP capable devices
    ERR: exec_request: request failed, error 401

    What’S wrong??

    • music on firefow brings the following message:

      RaopX 0.0.4

      Searching for RAOP capable devices
      ERR: exec_request: request failed

      • I solved the issue! It was the password to access my HiFi. If I remove the password, it works fine! Great app, thank you.

  4. I’m running Shairport on seagate dockstar with debian squeeze. When trying to connect with my macbook pro I’ll get this error:

    ERR: error:get_tcp_nconnect addr=, port=6000

    And on the server side I’ll get:

    Use of uninitialized value $dec_args{"tport"} in sprintf at ./shairport.pl line 650.
    Use of uninitialized value $dec_args{"cport"} in sprintf at ./shairport.pl line 650.
    Use of uninitialized value $dec_args{"dport"} in sprintf at ./shairport.pl line 650.

    Here is the line from shairport.pl

     /^SETUP$/ && do {
                my $transport = $req->header('Transport');
                $transport =~ s/;control_port=(\d+)//;
                my $cport = $1;
                $transport =~ s/;timing_port=(\d+)//;
                my $tport = $1;
                $transport =~ s/;server_port=(\d+)//;
                my $dport = $1;
                $resp->header('Session', 'DEADBEEF');

                my %dec_args = (
                    iv      =>  unpack('H*', $conn->{aesiv}),
                    key     =>  unpack('H*', $conn->{aeskey}),
                    fmtp    => $conn->{fmtp},
                    cport   => $cport,
                    tport   => $tport,
                    dport   => $dport,
    #                host    => 'unused',

    Any suggestions? Would appreciate help.

  5. Thanks so much! I had to do some troubleshooting regarding the setup, but now it works like a charm! I’m uber chuffed. Thanks again!

  6. Silly question :(

    I dowloaded RaopX and tried it (it’s flawless, I loved it), but I now wanna go back to being able to use my old AE cpabilities (play iTunes thru my remote speakers and stuff) but I don’t seem to be able to neither stop RaopX nor uninstall it! Have I ruined my poor old MAc? I’m not much of a connoisseur so a fairly simple way to uninstall/stop RaopX would be so greatly appreciated!
    Thanks a bunch!

    • Hi Victor.

      If you have started RaopX in the normal way by opening a terminal and entering RaopX, hitting [ctrl] + c and then [enter], or just closing that terminal window should be enough to stop it.
      You could also open a second terminal window and enter: killall RaopX
      If you want to completely remove RaopX just delete the RaopX executable from /usr/local/bin and the libsamplerate* files from /usr/local/lib – there is a more detailed description among the comments here somewhere.

      I am sure your “poor old Mac” will be just fine :-)


  7. You have got to be kidding me! This is the most cryptic way of getting airplay to work I could not make heads or tails of it and i did not get anywhere near to getting it to work!

  8. Hi,

    I got the thing installed, and i appears to work in the terminal. My apple TV is found, and the stream starts. But I can’t hear anything. I changed soundflowerbed (2ch) to default in the sound and midi preferences for both output and input. Is this the correct place to change the settings?


    • Hi,

      RaopX does not work with the Apple Tv.
      That’s why it says ‘No Tv support’ in the known issues section.


      • aha. I see. When skimming through I thought that was a error that could occur.
        Thanks anyway!

        • I agree I could have been more clear when writing that.
          The Tv uses a different encryption key, which I don’t have, and that’s why it doesn’t work.

  9. This is great! Thank you!

    One piece of feedback: I struggled to install Soundflower because after it said installation successful and I opened the program I still couldn’t see it as an output/input option under System Preferences > Sound. After a few attempts I finally tried reinstalling and that worked, so maybe that’s what the deal was. Might be helpful to point out that a reinstall is necessary though–I didn’t think it would be because most apps I download don’t require one.

    • Yes, I think so, but please don’t take my word for it.
      Change it at make up your own mind.

      In raop_play.h change the BUFFER_SECONDS

  10. After following the instructions you posted to Greg I still cannot get it to work. Could you please just type the commands in for me so I can copy and paste them

    note this is what pops up first: faisal-mudaras-macbook-pro:~ Fizzi$

    • Well, the commands are exactly the same as I posted to Greg:

      sudo mv /usr/local/bin/RaopX /Applications/RaopX


      If it doesn’t work try and explain what happens.. do you see any error messages?

  11. Brilliant!! I can now play music DVDs on my kitchen stereo from my living room Mac Mini HTPC.

    Thanks ever so much, Hersson! It is simply wonderful to see excellent freeware still at large (20 years ago I used to share a free text converter (programmed in Turbo Pascal for Mac(!), this was back when my brain still worked …).

    If I may make one small suggestion: it took me a bit of time to figure out that “ERR: exec_request: request failed, error 401″ meant that my AE’s airplay password should be turned off for this to work. Perhaps this could be pointed out more clearly in the documentation, or even added to the error msg itself?

    Anyway, thanks again, you made my day!


    • This error code occurs at my terminal all the time: get_tcp_nconnect addr=, port=5000
      Have you ever experienced this? Would be great to hear from you!

      Greets ben

  12. Hi, first of all can I just say how great this freeware is!
    I noticed further down in the comments list somebody asked about the 9 second buffering and you gave them a solution to change it. I wonder if you could explain it in a few more steps for someone like me who isn’t great with this kind of thing.

    • @davehallen

      If you download the source code I think you’ll understand. There is a file called raop_play.h, and in that file there is a line saying BUFFER_SECONDS 9, change that to your liking and recompile, and you’ve changed the size of the buffer accordingly… Still won’t make RaopX work any better though, and that was my point with the other comment, but as I said then.. please change it and make up your on mind.


  13. Before RaopX I had an Airport Express for a year or so and couldn’t use it without music skipping, thanks for that. Now I want to move the cache file to another volume, how can I do that?

  14. I changed the BUFFER_SECONDS line in raop_play.h from 9 to 4 (in fact, I tried many values) but I think the buffer is still 9 seconds, even when Terminal shows this message

    Connected to es.local.
    Opening AudioQueue
    Building 4 seconds buffer. Please wait

    Any idea what may be happening? Cheers.

    • The BUFFER_SECONDS changes the number of seconds recorded to the buffer file before starting playback.. all though I think the delay in the original raop_play is 9 seconds, and that’s why I seems like the change in this value has no effect. (Not entirely sure about this… it’s been a long time)

  15. Hi! Is the installer package working with Lion? Because according to several forums soundflower 1.5.2. doesn’t work with lion. Anyone tested it or has a solution? I know there is a 1.5.3. beta for lion but for me as a windows/mac switcher and therefore beginner it’s much too complicated.

  16. Hi, i’d like to know if sunflower works/can be installed on OS X Lion. For me i’d like to install RaopX but am blocked at this stage. Can’t set it as default input and output device in System Preferences just because i don’t see it…

    Tell me if i’m doing wrong and what i should do? Thanks!

  17. RaopX isn’t a device. It’s just a client which gets sound input from a device. Soundflower is nothing else then a device output=input device. Means: Install Sunflower, activate it and RaopX should stream that to your Airport.

    Btw, i’ve got the same issue with Shairport. Does not work for me. Even the same error, someonw else already mentioned.

Comments are closed.