Airfoil update broke the plugin?

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).
palantir
Posts: 73
Joined: Wed Sep 24, 2014 4:28 am

Re: Airfoil update broke the plugin?

Post by palantir »

Excellent news! I can confirm that "Indi" is talking to me again using Airfoil 4.8.13d & Airfoil 1.1.8.. Thanks for the update Jay!
User avatar
JGTracy
Posts: 46
Joined: Sat Aug 23, 2008 1:17 pm
Location: Hendersonville, NC

Re: Airfoil update broke the plugin?

Post by JGTracy »

The only problem I have been having (and still have) is the continuously posting the message:
-- Airfoil Error Update failed. Check to see if Airfoil is functioning correctly. --
in the Indigo log. The posting occurs about every 2 - 3 seconds.

I installed Airfoil 4.8.13d yesterday and I now am having problems with speakers. The error message mentioned above still exists. :(

The specific problem I am now having with speakers: I turn off Airfoil at night by setting the volume of all speakers to 0%, and turn on in the morning by setting the speakers to 50%. I do this through the Airfoil plugin for Indigo. This is ignored by 4.8.13d. Since it didn't fix the error-logging-problerm anyway, I'll go back to 4.8.12. I had tried to use the plugin method of disconnect-all-speakers several months ago but this caused a lot of memory use. -- The inactive memory used up all available memory in a couple of days and then caused problems with computer slowdown as memory was compressed and swapped.

The "Airfoil Error" message ought to be relatively to fix. There can't be very many things that cause that message to be generated in the first place.
TheTechnoPilot
Posts: 46
Joined: Mon Mar 31, 2014 9:16 pm
Location: Montreal, QC, Canada
Contact:

Re: Airfoil update broke the plugin?

Post by TheTechnoPilot »

Hi Guys,

Just updated Airfoil to v1.1.8 to try to fix an error I am getting, but still getting it. I am using Airfoil v4.8.12. Below is the debug error I am getting in the log.

Code: Select all

split("@")[0]
  File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/appscript/reference.py", line 498, in __call__
    raise CommandError(self, (args, kargs), e, self.AS_appdata)
CommandError: Command failed:
		OSERROR: -1728
		MESSAGE: Can't get reference.
		OFFENDING OBJECT: app(u'/Applications/Server/Airfoil/Airfoil.app').speakers.ID(u'745E1C30A0B9@VSX-1023')
		COMMAND: app(u'/Applications/Server/Airfoil/Airfoil.app').get(app(u'/Applications/Server/Airfoil/Airfoil.app').speakers.ID(u'745E1C30A0B9@VSX-1023').id)
Hope this helps with a fix, any suggestions in the interim other just then disabling?

Cheers,
Sean
Android's Tasker, to a person who does home automation...is like walking up to a Crack Treatment facility with a truck full of 3lb bags of crack. Then for each person that walks in and out smack them in the face with an open bag.
philc
Posts: 156
Joined: Tue May 17, 2011 8:36 pm

Re: Airfoil update broke the plugin?

Post by philc »

I updated both the plugin and the airfoil app, and everything is working fine. You have to do both to make it work. If you did update both, please make that clear.
Shutter
Posts: 345
Joined: Fri Mar 07, 2014 7:11 am
Location: London, UK

Re: Airfoil update broke the plugin?

Post by Shutter »

philc wrote:I updated both the plugin and the airfoil app, and everything is working fine. You have to do both to make it work. If you did update both, please make that clear.
Good point. And if both were updated, depending on the install order, the plugin may need restarting. I had to and then the error went away. Now it all works.
User avatar
JGTracy
Posts: 46
Joined: Sat Aug 23, 2008 1:17 pm
Location: Hendersonville, NC

Re: Airfoil update broke the plugin?

Post by JGTracy »

How do I get Airfoil v1.1.8? Software Update for Indigo says I have latest software <6.0.20> but the dropdown menu for plugins has :About Airfoil 1.1.7.
User avatar
matt (support)
Site Admin
Posts: 21542
Joined: Mon Jan 27, 2003 1:17 pm
Location: Texas
Contact:

Re: Airfoil update broke the plugin?

Post by matt (support) »

See Jay's post here:

http://forums.indigodomo.com/viewtopic. ... 105#p89999

He has a link to an internal update of the plugin.
Image
User avatar
JGTracy
Posts: 46
Joined: Sat Aug 23, 2008 1:17 pm
Location: Hendersonville, NC

Re: Airfoil update broke the plugin?

Post by JGTracy »

Thanks, I missed that earlier. :oops:
Airfoil 4.8.13d and Indigo 6.0.20 with Airfoil <plugin> 1.1.8
No more Airfoil error messages in the log.
I can get a speaker list now.
But: tha Airfoil feature for changing speaker volume doesn't work.

Other things I use that do work:
The Airfoil feature that changes Audio Source
The Airfoil feature that runs files generated by Automator some of which contain some Apple Script in the workflow.

I've got a work-around for the inability to control speaker volume. I don't need a quick fix. Thanks.
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Airfoil update broke the plugin?

Post by jay (support) »

Darn - that's on me, I didn't test setting volume (since I don't do it). I'll work on a fix for that.
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 update broke the plugin?

Post by jay (support) »

JGTracy wrote:But: tha Airfoil feature for changing speaker volume doesn't work.
Fixed in v1.1.9 (which will be rolled into Indigo v6.0.21 when we release it). Download it here in the meantime.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
TheTechnoPilot
Posts: 46
Joined: Mon Mar 31, 2014 9:16 pm
Location: Montreal, QC, Canada
Contact:

Re: Airfoil update broke the plugin?

Post by TheTechnoPilot »

Hi Jay,

Sadly, while I am updated both to Airfoil v4.8.12 and Airfoil Plugin v1.1.9, I am getting constantly kicked the following error whenever I have the plugin enabled. This has happened through multiple restarts and changing of my overall AirPlay speaker configuration (to eliminate that as a potential issue). Please let me know if you have any recommendations for a fix as this is a very limiting error now for my home automation system.

Code: Select all

 Airfoil Debug                   runConcurrentThread: update()
  Airfoil Debug                   update method called
  Airfoil Debug                   update: Airfoil is running
  Airfoil Debug                   update: application sources: [app(u'/Applications/Server/Airfoil/Airfoil.app').application_sources.ID(0), app(u'/Applications/Server/Airfoil/Airfoil.app').application_sources.ID(1), app(u'/Applications/Server/Airfoil/Airfoil.app').application_sources.ID(2), app(u'/Applications/Server/Airfoil/Airfoil.app').application_sources.ID(3)]
  Airfoil Debug                   update: device sources: [app(u'/Applications/Server/Airfoil/Airfoil.app').device_sources.ID(4), app(u'/Applications/Server/Airfoil/Airfoil.app').device_sources.ID(5), app(u'/Applications/Server/Airfoil/Airfoil.app').device_sources.ID(6), app(u'/Applications/Server/Airfoil/Airfoil.app').device_sources.ID(7)]
  Airfoil Debug                   update: system sources: [app(u'/Applications/Server/Airfoil/Airfoil.app').system_sources.ID(8)]
  Airfoil Debug                   update: speakers: [app(u'/Applications/Server/Airfoil/Airfoil.app').speakers.ID(u'com.rogueamoeba.airfoil.LocalSpeaker'), app(u'/Applications/Server/Airfoil/Airfoil.app').speakers.ID(u'745E1C30A0B9@VSX-1023'), app(u'/Applications/Server/Airfoil/Airfoil.app').speakers.ID(u'0011240663D1@Bedroom Speakers')]
  Airfoil Debug                   update: Computer (com.rogueamoeba.airfoil.LocalSpeaker) - Connected: 1
  Airfoil Debug                   update: adding to newKnownSpeakers for id: ID-com.rogueamoeba.airfoil.LocalSpeaker value: (u'Computer', u'connected')
  Airfoil Error                   Update failed. Check to see if Airfoil is functioning correctly.
  Airfoil Debug                   Update failed with exception:
Traceback (most recent call last):
  File "plugin.py", line 484, in update
    speakerId = self.airfoil.get(speaker.id).split("@")[0]
  File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/appscript/reference.py", line 498, in __call__
    raise CommandError(self, (args, kargs), e, self.AS_appdata)
CommandError: Command failed:
		OSERROR: -1728
		MESSAGE: Can't get reference.
		OFFENDING OBJECT: app(u'/Applications/Server/Airfoil/Airfoil.app').speakers.ID(u'745E1C30A0B9@VSX-1023')
		COMMAND: app(u'/Applications/Server/Airfoil/Airfoil.app').get(app(u'/Applications/Server/Airfoil/Airfoil.app').speakers.ID(u'745E1C30A0B9@VSX-1023').id)
Android's Tasker, to a person who does home automation...is like walking up to a Crack Treatment facility with a truck full of 3lb bags of crack. Then for each person that walks in and out smack them in the face with an open bag.
philc
Posts: 156
Joined: Tue May 17, 2011 8:36 pm

Re: Airfoil update broke the plugin?

Post by philc »

You need to update to the Airfoil beta: Airfoil 4.8.13d
TheTechnoPilot
Posts: 46
Joined: Mon Mar 31, 2014 9:16 pm
Location: Montreal, QC, Canada
Contact:

Re: Airfoil update broke the plugin?

Post by TheTechnoPilot »

That is truthfully so not helpful for those of us who are not beta testers for Rogue Amoeba!
Android's Tasker, to a person who does home automation...is like walking up to a Crack Treatment facility with a truck full of 3lb bags of crack. Then for each person that walks in and out smack them in the face with an open bag.
User avatar
jay (support)
Site Admin
Posts: 19232
Joined: Wed Mar 19, 2008 11:52 am
Location: Austin, Texas
Contact:

Re: Airfoil update broke the plugin?

Post by jay (support) »

Anyone can get that release - I linked to it in a different post. If you're unwilling to run a beta, then unfortunately you'll have to wait until Rogue Amoeba releases 4.8.13 final - the bugs are on their side and we couldn't work around all of the issues.
Jay (Indigo Support)
Twitter | Facebook | LinkedIn
TheTechnoPilot
Posts: 46
Joined: Mon Mar 31, 2014 9:16 pm
Location: Montreal, QC, Canada
Contact:

Re: Airfoil update broke the plugin?

Post by TheTechnoPilot »

jay (support) wrote:Anyone can get that release - I linked to it in a different post. If you're unwilling to run a beta, then unfortunately you'll have to wait until Rogue Amoeba releases 4.8.13 final - the bugs are on their side and we couldn't work around all of the issues.
Oh sorry Jay, I missed that post. :oops: I think my post from last night came off as a little snippy and I apologize to you and Philc for that, it truthfully was not the way I should have wrote it. Lesson learned don't sleep troubleshoot and post. :roll:
Android's Tasker, to a person who does home automation...is like walking up to a Crack Treatment facility with a truck full of 3lb bags of crack. Then for each person that walks in and out smack them in the face with an open bag.
Post Reply

Return to “Old Airfoil Discussions”