Does the Airfoil plugin have a playpause action ?

This forum is where we've moved the discussions of the original Airfoil plugin that shipped with Indigo 5/6 (and is now open source). You may continue to ask questions in this subforum, just make sure that it's not about the new Airfoil Pro plugin that shipped with Indigo 7 (ask those questions below).
PeteVis
Posts: 180
Joined: Fri Jun 19, 2015 3:28 am

Does the Airfoil plugin have a playpause action ?

Post by PeteVis »

Sorry for the noob question, I am just getting started with setting up Airfoil in Indigo.

I am looking through the wiki, and it references the python scripts in which there is example code to playpause iTunes.

But what happens when you switch to a different source, i.e. Spotify. Do I need to set up another script to communicate with Spotify ?

Can't playPause be routed through Airfoil ?
When I use Airfoil speakers on my remote mac, I can play pause skip tracks through Airfoil without going to the source application (iTunes, Spotify...)
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: Does the Airfoil plugin have a playpause action ?

Post by Colorado4Wheeler »

Airfoil just gives you remote speakers, think of them as this and I think it will change your perspective about what role they play in your HA setup. So, from that angle, if Airfoil is just another output for your music and sounds then it's independent of what the source is (iTunes vs Spotify) and requires that you play/pause in the source application.

I hope that helps :).
My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here
PeteVis
Posts: 180
Joined: Fri Jun 19, 2015 3:28 am

Re: Does the Airfoil plugin have a playpause action ?

Post by PeteVis »

I was afraid that might be the case.

The confusion comes from using Airfoil satellite on my macs and idevices.... they can send play pause commands to airfoil, and airfoil in turn takes care of rerouting those play/pause commands to the respective sources. They have applescripts for almost any audio app inside the airfoil.app package.
It just seems so messy to have to implement these commands for each source in Indigo, while Airfoil obviously has this capability built in.

I guess I'll shoot a feature request to rogue amoeba.
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: Does the Airfoil plugin have a playpause action ?

Post by Colorado4Wheeler »

If you can do it with AppleScript then you can do it with Indigo
My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Does the Airfoil plugin have a playpause action ?

Post by jay (support) »

PeteVis wrote:Can't playPause be routed through Airfoil ?
Not yet... ;)
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
User avatar
Colorado4Wheeler
Posts: 2794
Joined: Mon Jul 20, 2009 10:48 am
Location: Colorado

Re: Does the Airfoil plugin have a playpause action ?

Post by Colorado4Wheeler »

jay (support) wrote:Not yet...
Don't mind Jay, he loves teasing about things and giving us the idea that it's probably coming very soon (like maybe in 7) but he'll deny it of course :D.
My Modest Contributions to Indigo:

HomeKit Bridge | Device Extensions | Security Manager | LCD Creator | Room-O-Matic | Smart Dimmer | Scene Toggle | Powermiser | Homebridge Buddy

Check Them Out Here
Post Reply

Return to “Old Airfoil Discussions”