Can anyone map out for me how I can achieve this:
KPL button pressed
iTunes on Indigo Server Mac
Play a "playlist"
Through Zone 2 of Pioneer Receiver
I'm confused as to what puzzle parts are needed, and what does what.
iTunes plugin?
Pioneer plugin [the only thing that could control zone 2]
AirFoil application? [Am I pointing it to the APPLICATION=iTunes?, if yes, then what is the speaker? The RECEIVER or Indigo Server Mac?]
AirFoil speakers? [Am I pointing it to the RECEIVER, or the Indigo Server Mac?]
AirFoil plugin?
What I've tried so far: [trigger] Device State Changed
Keypad Button LED 8
Becomes On
[actions] PP= Pioneer Plugin, AF= Airfoil Plugin
PP - power ON (zone 2)
AF - airfoil: change audio source to iTunes
PP - select source (zone 2) *NO DATA IN MENU
PP - set volume (zone 2) to -20
AF - disconnect all speakers
AF - airfoil: connect to speaker Indigo Server Mac
- execute embedded Applescript
tell application "iTunes"
-- activate
-- delay 5
-- set shuffle of playlist "Security" to true
play playlist "Security"
end tell- Code: Select all
Pioneer Receiver Error Error in plugin execution ExecuteAction:
Traceback (most recent call last):
File "plugin.py", line 3116, in zone2setSource
<type 'exceptions.KeyError'>: key source not found in dict
AV [receiver] power (zone 2): on
AV [receiver] input source (zone 2): MEDIA SERVER
Pioneer Receiver Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 481, in runConcurrentThread
File "plugin.py", line 1854, in processResponse
File "plugin.py", line 508, in updateDeviceState
<type 'exceptions.KeyError'>: 'key phaseControlPlusWorkingDelay not found in dict'
Pioneer Receiver Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
This seems to work BUT ONLY TO ZONE 1 speakers.
Pioneer Plugin v1.0.6
Pioneer VSX-1123
OS 10.10.3
Indigo 6.1.1
Airfoil 4.9
iTunes 12.1.0.50