Page 1 of 2
Airfoil Restore Source issue
Posted:
Wed Nov 16, 2016 11:54 am
by Woetjes
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?
Re: Airfoil Restore Source issue
Posted:
Wed Nov 16, 2016 3:10 pm
by jay (support)
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.
Re: Airfoil Restore Source issue
Posted:
Wed Nov 16, 2016 3:12 pm
by jay (support)
Also - have you previously done a Save Source?
Re: Airfoil Restore Source issue
Posted:
Thu Nov 17, 2016 4:15 am
by Woetjes
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
Re: Airfoil Restore Source issue
Posted:
Thu Nov 17, 2016 4:46 pm
by jay (support)
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?
Re: Airfoil Restore Source issue
Posted:
Fri Nov 18, 2016 3:15 am
by Woetjes
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.
Re: Airfoil Restore Source issue
Posted:
Tue Nov 22, 2016 4:59 am
by Woetjes
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?
Re: Airfoil Restore Source issue
Posted:
Tue Nov 22, 2016 9:43 am
by jay (support)
Ok, I've reproduced it here. Looking into it, though it may be a couple of days.
Re: Airfoil Restore Source issue
Posted:
Tue Nov 22, 2016 12:45 pm
by Woetjes
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
Re: Airfoil Restore Source issue
Posted:
Tue Nov 22, 2016 1:36 pm
by jay (support)
I'm not seeing the issue with speaker sets. Email your database to me at
support@indigodomo.com
Re: Airfoil Restore Source issue
Posted:
Tue Nov 22, 2016 5:27 pm
by jay (support)
BTW, the restore source issue appears to only be with iTunes - all the others I've tried seem to work.
NameNotUniqueError
Posted:
Sun Nov 27, 2016 2:21 pm
by hensed
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?
Re: Airfoil Restore Source issue
Posted:
Sun Nov 27, 2016 2:33 pm
by jay (support)
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.
Re: Airfoil Restore Source issue
Posted:
Tue Nov 29, 2016 12:15 am
by hensed
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!!
Re: Airfoil Restore Source issue
Posted:
Wed Nov 30, 2016 11:47 am
by jay (support)
The iTunes bug and the device name bug will be addressed in Indigo 7.0.3, release TBD (but pretty soon).