foo_airplay

This is a first build of a component to stream music from foobar2000 to AirPort Express (or other AirPlay-enabled devices).

It is just a preview (to tease you guys :) ).
It doesn’t support compression and encryption yet.
And you cannot control volume on remote speakers.
And there’s also a huge (about 2 seconds) delay comparing to local playback.

And what it does have? Well, a tiny menu item called AirPlay under Playback menu. When you check a discovered station under AirPlay menu, foobar starts streaming music to it.
Also there’s an API for future integration with TouchRemote to allow renderer selection (like iTunes does).
And that’s it, for now :)

Of course, it requires Bonjour installed. But you already have one, right?
And though it doesn’t support compression yet, it already requires QuickTime Player to be installed.
This time is written in pure C++, so no .NET framework needed. Everything else seems to be linked statically, and no additional references are required.

Got here? Still wanna try?
Here you go: foo_airplay 0.1.0.0!

  1. wdw89 on September 22nd, 2011 at 05:15

    It’s a good start, thank you! I like your foobar2000 components.

  2. Tommy on September 22nd, 2011 at 06:58

    So very excited!!!

  3. everlast on September 22nd, 2011 at 21:27

    nice! it works quite well! i´m seeing forward to new features (volume adjustment, better sound quality etc). well done!

  4. DD on September 23rd, 2011 at 00:52

    SUPER COOL!

    I already posted this on another of your blog posts, but in case you didn’t see it, here is some example source code showing how to deal with the password-protection and a few other things (I hope it helps you)!

    Thanks for your hard work!

  5. redmodel on September 24th, 2011 at 21:49

    Is there any chance that there could be a plugin like this doing the exact opposite? Have an iPhone/iPad send audio to Foobar2000 through Airplay.

    I use DACP Server, and it works perfect, but there’s sometimes I wouldn’t mind just playing audio from my radio apps to larger speakers.

    Thanks again for the DACP plugin, and your progession on airplay with Foobar.

  6. pieceofsummer on September 24th, 2011 at 21:54

    Why streaming to foobar? There’s a shairport4w application that runs on your PC and acts like an AirPort Express for other devices.

  7. fan on September 27th, 2011 at 07:03

    Plugin works great with airport express for a preview release. Looking forward to further development.

  8. redmodel on September 28th, 2011 at 22:30

    Thanks,

    I tried out shairport4w, but I have sound quality issues with it. Because I have a computer running 24/7 that has foobar running with the wasapi plugin. I’m assuming this ends up taking some sort of control over soundcard.

    If I test out shairport4w without the Foobar running, the sound quality is fine.With foobar running, it seems to have this very highly compressed sound to it.

  9. Copland on October 30th, 2011 at 14:21

    Great plugin! I’d highly appreciate it being developped quickly. Basically works without problems, but of course there are some features still missing – so far, a big thanks!

  10. Tim on November 11th, 2011 at 01:23

    Can you post the firmware version of your Airport Express please? I got one with 7.5.2. It is discovered by the plugin but it does not play any sound.

  11. Thomas on November 25th, 2011 at 19:16

    Plugin rocks. Thank you! Looking forward to future releases. By the way, works with my Airport Express but not with my Apple TV 2. Mail me if you need someone for tests against Apple TV 2.

  12. dude on December 3rd, 2011 at 01:38

    It does not work for me. I click Playback menu>Airplay>iPad, and nothing happens. What am I doing wrong?

    In the console, it says “Error: Jack is not connected”

  13. Daniel on December 14th, 2011 at 21:32

    I can’t get this working with the new Airport Express firmware update… it worked before the update. Anyone else having trouble?

  14. Alex on December 23rd, 2011 at 12:16

    nice work, mate. anything new on that issue? merry x-mas!

  15. Satalax on January 1st, 2012 at 01:28

    It works great with my Denon DNP 720 via airplay. Thanks for the plugin!

  16. Satalax on January 1st, 2012 at 02:10

    Hey pieceofsummer,

    However… It doesn’t diplay info about the title of the song played, its author and time via air play on my Denon DNP 720. Would you mind looking into that and maybe add such feature in a future version of the plug in, please?

  17. sergej on January 10th, 2012 at 02:33

    Hi! Any new version in pipeline? Looking forward… ;)

  18. Tom on January 10th, 2012 at 05:14

    hi!
    thanks for the great release – I’m not sure whether it’s just me but like airfoil, the streaming seems to be choppy still..

    r u planning to continuously update?

    again, thank you for your free work.

  19. Fred on January 29th, 2012 at 17:31

    Getting an error message when trying to stream to my AppleTV. Any ideas? ;)

    OPTIONS: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, GET_PARAMETER, SET_PARAMETER, POST, GET
    StreamingStation 28E7CFDE9458@Apple TV created
    sending ANNOUNCE…
    sending SETUP…
    Error: Jack is not connected
    StreamingStation 28E7CFDE9458@Apple TV deleted client
    StreamingStation 28E7CFDE9458@Apple TV deleted


    Fred

  20. pieceofsummer on February 6th, 2012 at 18:02

    Ok, so most likely there’s some breaking change in new firmware.
    I’ll update my AirPort Express and see what can be done.

  21. Edgars on February 14th, 2012 at 23:32

    Does it play through tcp or udp? I hear that shairport only supports udp, which might as well be true for Apple TV.

  22. quisvir on March 17th, 2012 at 23:31

    Very useful plugin, great job! I just bought an Airport Express, and this seems to be the best way to use it without having to drop foobar (iTunes, out_apx) or experiencing intermittent sound (Airfoil). I would be even happier if it could play without gaps between tracks (like iTunes & out_apx), but having a working plugin at all is something to be grateful for :)

    Keep up the good work!

    Cheers,
    quisvir

    PS: the plugin seems to have no problem with the latest firmware on my AX.

  23. antti on March 28th, 2012 at 20:03

    I can’t find the “AirPlay” menu item in foobar’s playback menu. Using foobar2000 1.1.11, foo_airplay is visible in the list of installed components. Should I do something else, too?

  24. zbih on April 16th, 2012 at 23:39

    This is freaking awesome idea!! Thank you for doing such a thing! I can’t wait for updated version! Unfortunately this plugin works a little bit worse than upnp’s controller. Is slower between tracks and sometimes there are stops during playback and I don’t see what is playing on my Denon’s RCD-N7 display.

    But I have great hope for this plugin!!!!! And wish you the best!

    Regards from foobar fun :)

  25. Malvinas on September 25th, 2012 at 14:13

    Had the same problem.
    After Reset foobar – in window Preferences:Components – the problem was solved.

  26. Thoms on September 28th, 2012 at 15:37

    Great plugin, however I cannot make it work. When I check the airplay destination no sound comes out from it. Is it supposed to work on 64 bits systems (Win7 64)?
    For those who does not have the Airplay menu in Foobar, check that you have Bonjour (not the print service) and Quicktime Installed. Bonjour is normally installed with iTunes but you can download it as a standalone in the Bonjour SDK (you need to register as a developper).

  27. aa on September 29th, 2012 at 06:24

    Cannot be used

  28. tiger on October 1st, 2012 at 18:51

    Thank you!It works well on my airport express!Thank you very much!

  29. brkd44 on November 11th, 2012 at 14:52

    Thanks for the plugin.
    It is really nice that somebody think about it.
    However I am experiencing some issues with it.
    1. When I start plugin (I use A7 to stream music to) then music is played both on foobar on my computer and with slight delay on A7.
    2. Plugin would be perfect when:
    a) music will be played only on the other equipment (e.g. A7)
    b) gapeless playback will be possible
    c) there will be no mess with the volume (plugin should preserve original foobar volume, which is always 100%, and volume can be controlled only by… A7 in my case

    Hope there will be some developments on it.
    Or maybe someone knows how to stream music from foobar to A7 gapelessly???

    Best Regards
    brkd44

  30. Denis on December 16th, 2012 at 07:32

    Hi! Where I can find latest version ? Or the first build is the last build?

  31. Denis on December 16th, 2012 at 09:32

    Works great! Need volume control!

  32. Whiz on December 30th, 2012 at 13:06

    I can double “antti”‘s problem from 28.March.2012 – i get foo_airplay listed in the components, but nothing shows up in the UI // No AirPlay item in the Playback menu. I’m using foobar 1.2.

  33. FrankL on January 13th, 2013 at 16:19

    I’ve got the Apple Bonjour service installed and running but I don’t see the AirPlay menu in Foobar. The foobar console contains the following line in its output

    AirPlay: QT init error: -2093

    any idea what this error means?

  34. guest on January 24th, 2013 at 00:07

    THX for your effort.

    any NEWS?

  35. guest on February 15th, 2013 at 03:34

    http://emilles.dyndns.org/software/out_apx.html

    try this one instead!

  36. guest on February 15th, 2013 at 18:20

    http://www.rogueamoeba.com/airfoil/

    or this one. :)

Leave a Reply