Airfoil Restore Source issue

Posted on
Wed Nov 16, 2016 11:54 am
Woetjes offline
Posts: 108
Joined: Apr 04, 2016
Location: Belgium

Airfoil Restore Source issue

Hi,

It seems there is an error when restoring a saved source:

Airfoil Pro Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 1270, in restoreSavedSource
TypeError: 'NoneType' object is not iterable


Anyone seeing the same?

Posted on
Wed Nov 16, 2016 3:10 pm
jay (support) offline
Site Admin
User avatar
Posts: 14884
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Airfoil Restore Source issue

What's the name of the source you're using? Also, do a Plugins->Airfoil Pro->Show Sources and copy/paste the results into a code block in your reply.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Nov 16, 2016 3:12 pm
jay (support) offline
Site Admin
User avatar
Posts: 14884
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Airfoil Restore Source issue

Also - have you previously done a Save Source?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Thu Nov 17, 2016 4:15 am
Woetjes offline
Posts: 108
Joined: Apr 04, 2016
Location: Belgium

Re: Airfoil Restore Source issue

Hi Jay,

Yes, I defined a 'Save Source'. I'm playing iTunes/Spotify, switch over to the speech and then want to play iTunes/Spotify again.

This is the source output:

Code: Select all
group: recentApplications
   name: com.apple.speech.speechsynthesisd, identifier: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/Resources/com.apple.speech.speechsynthesisd
   name: Spotify, identifier: /Applications/Spotify.app   name: iTunes, identifier: /Applications/iTunes.app   name: Safari, identifier: /Applications/Safari.app
   name: QuickTime Player, identifier: /Applications/QuickTime Player.app
group: audioDevices
   name: Built-in Input, identifier: AppleHDAEngineInput:1B,0,1,1:2   name: Built-in Microphone, identifier: AppleHDAEngineInput:1B,0,1,0:1
group: systemAudio
   name: System Audio, identifier: com.rogueamoeba.source.systemaudio

I've tested it again and the error code appears again:

Code: Select all
   Airfoil Pro Error               Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 1270, in restoreSavedSource
TypeError: 'NoneType' object is not iterable

Posted on
Thu Nov 17, 2016 4:46 pm
jay (support) offline
Site Admin
User avatar
Posts: 14884
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Airfoil Restore Source issue

But did you actually execute a Save Source first (otherwise it won't know what to restore)?

Also, which source did you have saved that you were switching back to?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Nov 18, 2016 3:15 am
Woetjes offline
Posts: 108
Joined: Apr 04, 2016
Location: Belgium

Re: Airfoil Restore Source issue

Something strange happened - now I don't get the error anymore but I did a quick test this morning and when playing Spotify, it stores and restores the source. When I'm playing iTunes, it's not working. I've setup the trigger in I6 and in i7, I changed the old Airfoil triggers to the new Airfoil Pro plugin. I'll do some more testing this weekend and will let you know what's going on.

Posted on
Tue Nov 22, 2016 4:59 am
Woetjes offline
Posts: 108
Joined: Apr 04, 2016
Location: Belgium

Re: Airfoil Restore Source issue

I created a simple trigger to test the save and restore source. It's working for Spotify and the Speech engine but it's not working for iTunes. When I try to restore, I restores the previously stored source. I restarted Airfoil/iTunes (12.5.3.17), added the source in Airfoil but it's not working, any ideas?

Posted on
Tue Nov 22, 2016 9:43 am
jay (support) offline
Site Admin
User avatar
Posts: 14884
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Airfoil Restore Source issue

Ok, I've reproduced it here. Looking into it, though it may be a couple of days.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Nov 22, 2016 12:45 pm
Woetjes offline
Posts: 108
Joined: Apr 04, 2016
Location: Belgium

Re: Airfoil Restore Source issue

Hi Jay,

Thanks - I've the same issue saving and restoring speakers states. I created a simple test again and the speakers are not restoring correctly :(
Could you also have a look at that?

Thanks,
Wouter

Posted on
Tue Nov 22, 2016 1:36 pm
jay (support) offline
Site Admin
User avatar
Posts: 14884
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Airfoil Restore Source issue

I'm not seeing the issue with speaker sets. Email your database to me at support@indigodomo.com

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Nov 22, 2016 5:27 pm
jay (support) offline
Site Admin
User avatar
Posts: 14884
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Airfoil Restore Source issue

BTW, the restore source issue appears to only be with iTunes - all the others I've tried seem to work.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sun Nov 27, 2016 2:21 pm
hensed offline
Posts: 32
Joined: Feb 01, 2012
Location: Palo Alto, Ca

NameNotUniqueError

Hi All,

I'm trying to migrate to the Airfoil Pro plugin, but when I try to create an instance I get this error:

Code: Select all
Airfoil Pro Error               An exception occurred while querying Airfoil.
Traceback (most recent call last):
  File "plugin.py", line 892, in validateDeviceFactoryUi
ValueError: NameNotUniqueError


I get this error in the log during the define and sync stage when I click "save". I'm only selecting my airfoil instance and leaving the other options blank. Has anyone else come across this issue?

Posted on
Sun Nov 27, 2016 2:33 pm
jay (support) offline
Site Admin
User avatar
Posts: 14884
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Airfoil Restore Source issue

I'll look into this as well. It looks like you have a device that probably has the same name as one of the speakers that the plugin is trying to create (the plugin should handle that case though). If you can identify that device and rename it then you might be able to continue.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Nov 29, 2016 12:15 am
hensed offline
Posts: 32
Joined: Feb 01, 2012
Location: Palo Alto, Ca

Re: Airfoil Restore Source issue

That was indeed the case. The name of the machine's fingscan object was the same name that was attempting to be used in the instance creation. Thanks for the tip!! :)

Posted on
Wed Nov 30, 2016 11:47 am
jay (support) offline
Site Admin
User avatar
Posts: 14884
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Airfoil Restore Source issue

The iTunes bug and the device name bug will be addressed in Indigo 7.0.3, release TBD (but pretty soon).

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Who is online

Users browsing this forum: No registered users and 0 guests