Airfoil and Indigo 6.0.5

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).
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Airfoil and Indigo 6.0.5

Post by jay (support) »

Doesn't matter.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
Dewster35
Posts: 1033
Joined: Tue Jul 06, 2010 6:29 pm
Location: Petoskey, MI

Re: Airfoil and Indigo 6.0.5

Post by Dewster35 »

jay (support) wrote:Doesn't matter.
Still getting this over and over again:

Airfoil Debug runConcurrentThread: Airfoil isn't running

Not seeing anything else in the event log if that is the only place where you thought I would see changes happening.
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Airfoil and Indigo 6.0.5

Post by jay (support) »

You never told me the results of running the AppleScript I posted...
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
Dewster35
Posts: 1033
Joined: Tue Jul 06, 2010 6:29 pm
Location: Petoskey, MI

Re: Airfoil and Indigo 6.0.5

Post by Dewster35 »

That was the result...
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Airfoil and Indigo 6.0.5

Post by jay (support) »

So the result of running the script in the Script Editor application was...
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
Dewster35
Posts: 1033
Joined: Tue Jul 06, 2010 6:29 pm
Location: Petoskey, MI

Re: Airfoil and Indigo 6.0.5

Post by Dewster35 »

As I said earlier...

All running the script shows in the event log is the following... which I assume the script is doing nothing.

Airfoil Debug runConcurrentThread: Airfoil isn't running

I'm not sure what other "processes" launching and quitting you were referring to.
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Airfoil and Indigo 6.0.5

Post by jay (support) »

That message is from the plugin, not from the AppleScript. When you execute the script in the Script Editor application it will show the results in the Script Editor window (or show an error) - Indigo isn't even in the loop.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Airfoil and Indigo 6.0.5

Post by jay (support) »

Let me explain what I'm trying to determine and maybe what I'm looking for will make more sense. I want to make sure that Airfoil is responding to apple events sent from something else other than the various Indigo components. So if you run that AppleScript from the AppleScript Editor application, the expected result is that it would return a list of available speakers. That's the first test that I'd like you to run - an AppleScript that talks to Airfoil from outside of any Indigo components.

Now, having said that, at least one other user seems to have gotten Airfoil back in a working state by deleting the application completely then reinstalling. So you might give that a try. There appears to be some sandboxing issue with the OS that's sometimes causing apple events (i.e. AppleScripts) to fail between some applications.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
Dewster35
Posts: 1033
Joined: Tue Jul 06, 2010 6:29 pm
Location: Petoskey, MI

Re: Airfoil and Indigo 6.0.5

Post by Dewster35 »

I see. My problem was that I was firing the script from an action within indigo and watching the event log.

Below is the message I receive from the results window of the editor.

Code: Select all

{speaker id "com.rogueamoeba.airfoil.LocalSpeaker" of application "Airfoil", speaker id "7073CBDAEE85" of application "Airfoil", speaker id "A820661225FC" of application "Airfoil", speaker id "001FF303BB86" of application "Airfoil"}
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Airfoil and Indigo 6.0.5

Post by jay (support) »

OK - that's the expected reply. Next, create an action group in Indigo with an Execute Script action. Paste in the following script and hit the "Run" button.

Code: Select all

tell application "Airfoil"
	set speakerName to name of first speaker
end tell
tell application "IndigoServer" to log speakerName
Anything in the Event Log (ignore any lines that are from the Airfoil Plugin)? Any lines should have the type "Script".
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
Dewster35
Posts: 1033
Joined: Tue Jul 06, 2010 6:29 pm
Location: Petoskey, MI

Re: Airfoil and Indigo 6.0.5

Post by Dewster35 »

Results:

Dec 12, 2013 12:11:53 PM
Error script error: around characters 115 to 130
Error script error: File IndigoServer_d wasn’t found. (-43)
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Airfoil and Indigo 6.0.5

Post by jay (support) »

LOL - sorry, I tested it against a debug build. I edited it above (removed the _d) so copy/paste it again.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
Dewster35
Posts: 1033
Joined: Tue Jul 06, 2010 6:29 pm
Location: Petoskey, MI

Re: Airfoil and Indigo 6.0.5

Post by Dewster35 »

No worries.

Code: Select all

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

Re: Airfoil and Indigo 6.0.5

Post by jay (support) »

Ok. Unfortunately, it basically just means that the appscript library, which is what we use to bridge python to AppleScript, is what's having the issue. Have you tried the suggestion to delete Airfoil completely and reinstall it?
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
Dewster35
Posts: 1033
Joined: Tue Jul 06, 2010 6:29 pm
Location: Petoskey, MI

Re: Airfoil and Indigo 6.0.5

Post by Dewster35 »

I've deleted the airfoil app to the trash. Emptied the trash. Reinstalled airfoil and reset the speaker list from the indigo plugin. The same result is happening. Is there a way to trash the script library as well somehow?
Post Reply

Return to “Old Airfoil Discussions”