I've been have trouble with iTunes since I installed the 5.0.3 update. I've noticed the following:
-- Indigo could no longer control iTunes on a different iMac. Pairing worked, but the device continued to show "unavailable"
-- The iTunes on my computer would frequently freeze and require a "Forced Quit" to recover.
-- Indigo is supposed to start iTunes at 8AM. I took some time this morning to look into it. The log is below. I successfully paired and then issued an ACTION GROUP that should turn on iTunes at a particular radio station.
I'll try to switch back to 5.0.2.
Log file excerpt:
2012-02-06 08:00:00 Action Group iTunesWCQS
2012-02-06 08:03:41 iTunes Debug logging disabled
2012-02-06 08:04:38 iTunes Error iTunes stopped due to the following error:
Traceback (most recent call last):
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/iTunes.indigoPlugin/Contents/Server Plugin/statusThread.py", line 120, in run
self.iTunesController.iTunesLogin()
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/iTunes.indigoPlugin/Contents/Server Plugin/itunes.py", line 55, in iTunesLogin
raise UnknownError("ITunesController.iTunesLogin() The request URL format is bad (most likely causing this error): " + traceback.format_exc(10))
UnknownError: 'ITunesController.iTunesLogin() The request URL format is bad (most likely causing this error): Traceback (most recent call last):\n File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/iTunes.indigoPlugin/Contents/Server Plugin/itunes.py", line 46, in iTunesLogin\n self.login()\n File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/iTunes.indigoPlugin/Contents/Server Plugin/dacp.py", line 567, in login\n raise DACPException(respond.status, ("reason: " + respond.reason))\nDACPException: 404 - reason: Not Found\n'
2012-02-06 08:04:38 iTunes Error iTunes has an unknown error - disabling
2012-02-06 08:04:47 Action Group iTunesWCQS
2012-02-06 08:04:47 Ignored device "iTunes" action request (communication is disabled)
2012-02-06 08:04:47 Ignored device "iTunes" action request (communication is disabled)
2012-02-06 08:04:47 Ignored device "iTunes" action request (communication is disabled)
2012-02-06 08:40:53 iTunes Debug logging enabled
2012-02-06 08:41:40 iTunes Debug getDeviceConfigUiValues called
2012-02-06 08:41:40 iTunes Debug getDeviceConfigUiValues(): starting pairing thread
2012-02-06 08:41:40 iTunes Debug pairingThread: Starting run method
2012-02-06 08:41:41 iTunes Debug pairingThread: Waiting for pairing message
2012-02-06 08:41:43 iTunes Debug validateDeviceConfigUi called
2012-02-06 08:41:44 iTunes Debug closedDeviceConfigUi: device config dialog closed
2012-02-06 08:41:44 iTunes Debug closedDeviceConfigUi: pairing thread exists
2012-02-06 08:41:44 iTunes Debug closedDeviceConfigUi: pairing thread is running, cancelling
2012-02-06 08:41:44 iTunes Debug pairingThread: Received pairing message
2012-02-06 08:41:44 iTunes Debug pairingThread: From host: ('127.0.0.1', 61329)
2012-02-06 08:41:44 iTunes Debug pairingThread: Closing down
2012-02-06 08:42:06 iTunes Debug getDeviceConfigUiValues called
2012-02-06 08:42:06 iTunes Debug getDeviceConfigUiValues(): starting pairing thread
2012-02-06 08:42:06 iTunes Debug pairingThread: Starting run method
2012-02-06 08:42:06 iTunes Debug pairingThread: Waiting for pairing message
2012-02-06 08:42:17 iTunes Debug pairingThread: Received pairing message
2012-02-06 08:42:17 iTunes Debug pairingThread: From host: ('192.168.1.102', 61338)
2012-02-06 08:42:17 iTunes Debug pairingThread: Closing down
2012-02-06 08:42:21 iTunes Debug validateDeviceConfigUi called
2012-02-06 08:42:21 iTunes Debug validateDeviceConfigUi: Pairing message was received from ip: 192.168.1.102
2012-02-06 08:42:21 iTunes Debug getMediaServerList: called
2012-02-06 08:42:22 iTunes Debug getMediaServerList: ip: 192.168.1.102 and host: Iorek-4.local
2012-02-06 08:42:22 iTunes Debug validateDeviceConfigUi: serverList:
[('192.168.1.102', u'Iorek-4.local', u'Iorek-4.local:49152')]
2012-02-06 08:42:22 iTunes Debug validateDeviceConfigUi: successful pairing with host: ('192.168.1.102', 61338)
2012-02-06 08:42:22 iTunes Debug validateDeviceConfigUi: increasing pairCount to: 4
2012-02-06 08:42:26 iTunes Debug closedDeviceConfigUi: device config dialog closed
2012-02-06 08:42:26 iTunes Debug closedDeviceConfigUi: pairing thread exists
2012-02-06 08:42:40 Action Group iTunesWCQS
2012-02-06 08:42:40 Ignored device "iTunes" action request (communication is disabled)
2012-02-06 08:42:40 Ignored device "iTunes" action request (communication is disabled)
2012-02-06 08:42:40 Ignored device "iTunes" action request (communication is disabled)
2012-02-06 08:44:19 iTunes Debug getDeviceConfigUiValues called
2012-02-06 08:44:19 iTunes Debug getDeviceConfigUiValues(): starting pairing thread
2012-02-06 08:44:19 iTunes Debug pairingThread: Starting run method
2012-02-06 08:44:20 iTunes Debug pairingThread: Waiting for pairing message
2012-02-06 08:44:23 iTunes Debug validateDeviceConfigUi called
2012-02-06 08:44:23 iTunes Debug closedDeviceConfigUi: device config dialog closed
2012-02-06 08:44:23 iTunes Debug closedDeviceConfigUi: pairing thread exists
2012-02-06 08:44:23 iTunes Debug closedDeviceConfigUi: pairing thread is running, cancelling
2012-02-06 08:44:23 iTunes Debug pairingThread: Received pairing message
2012-02-06 08:44:23 iTunes Debug pairingThread: From host: ('127.0.0.1', 61382)
2012-02-06 08:44:23 iTunes Debug pairingThread: Closing down
2012-02-06 08:44:28 iTunes Debug getDeviceConfigUiValues called
2012-02-06 08:44:28 iTunes Debug getDeviceConfigUiValues(): starting pairing thread
2012-02-06 08:44:28 iTunes Debug pairingThread: Starting run method
2012-02-06 08:44:29 iTunes Debug pairingThread: Waiting for pairing message
2012-02-06 08:44:37 iTunes Debug pairingThread: Received pairing message
2012-02-06 08:44:37 iTunes Debug pairingThread: From host: ('192.168.1.102', 61399)
2012-02-06 08:44:37 iTunes Debug pairingThread: Closing down
2012-02-06 08:44:45 iTunes Debug validateDeviceConfigUi called
2012-02-06 08:44:45 iTunes Debug validateDeviceConfigUi: Pairing message was received from ip: 192.168.1.102
2012-02-06 08:44:45 iTunes Debug getMediaServerList: called
2012-02-06 08:44:46 iTunes Debug getMediaServerList: ip: 192.168.1.102 and host: Iorek-4.local
2012-02-06 08:44:46 iTunes Debug validateDeviceConfigUi: serverList:
[('192.168.1.102', u'Iorek-4.local', u'Iorek-4.local:49152')]
2012-02-06 08:44:46 iTunes Debug validateDeviceConfigUi: successful pairing with host: ('192.168.1.102', 61399)
2012-02-06 08:44:46 iTunes Debug validateDeviceConfigUi: increasing pairCount to: 5
2012-02-06 08:44:48 iTunes Debug closedDeviceConfigUi: device config dialog closed
2012-02-06 08:44:48 iTunes Debug closedDeviceConfigUi: pairing thread exists
2012-02-06 08:45:07 Action Group iTunesWCQS
2012-02-06 08:45:07 Ignored device "iTunes" action request (communication is disabled)
2012-02-06 08:45:07 Ignored device "iTunes" action request (communication is disabled)
2012-02-06 08:45:07 Ignored device "iTunes" action request (communication is disabled)
2012-02-06 08:46:18 iTunes Debug logging disabled
Indigo 5.0.3 seems to have broken the iTunes plugin.
This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
Forum rules
This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo
- jay (support)
- Site Admin
- Posts: 19232
- Joined: Wed Mar 19, 2008 11:52 am
- Location: Austin, Texas
- Contact:
Re: Indigo 5.0.3 seems to have broken the iTunes plugin.
Post by jay (support) »
It's working here fine both locally and remotely. What version of iTunes are you using and on what OS version?
According to the error you list above, iTunes is listening on the correct port but it's returning an error (404) when the plugin is asking for it's current status - which it shouldn't. Given that iTunes is freezing, it sounds like iTunes is corrupt somehow on that Mac. The plugin can't cause iTunes to crash - only a problem with iTunes can cause that.
According to the error you list above, iTunes is listening on the correct port but it's returning an error (404) when the plugin is asking for it's current status - which it shouldn't. Given that iTunes is freezing, it sounds like iTunes is corrupt somehow on that Mac. The plugin can't cause iTunes to crash - only a problem with iTunes can cause that.
Return to “Extending Indigo with Plugins and Python”
Jump to
- Indigo Help
- ↳ Announcements
- ↳ New to Indigo/Home Automation
- ↳ Installing/Moving/Upgrading/Uninstalling Questions
- ↳ Basic Usage Questions
- ↳ Devices
- ↳ Triggers and Triggering Events
- ↳ Schedules
- ↳ Conditions
- ↳ Action Groups and Actions
- ↳ Variables
- ↳ Control Pages
- ↳ Feature Requests
- ↳ Hardware Support Inquiries and Requests
- ↳ Supported Interfaces/Technologies
- ↳ Z-Wave
- ↳ INSTEON
- ↳ Indigo Virtual Devices
- ↳ X10 - Legacy
- ↳ Supported Hardware
- ↳ Interfaces
- ↳ Digital/Analog I/O Modules
- ↳ Energy Monitoring/Reporting
- ↳ Locks and Lock Controllers
- ↳ Motion Detectors and Sensors
- ↳ Motor/Speed and Shade/Blinds Controllers
- ↳ Outlets and Inline Modules
- ↳ Plug-in Lamp/Appliance Modules and Bulbs
- ↳ IR and A/V Devices
- ↳ Scene/Multi-Button Controllers
- ↳ Sprinkler/Irrigation Controllers
- ↳ Switches
- ↳ Thermostats
- ↳ Miscellaneous Devices
- ↳ Built-in Plugins
- ↳ Airfoil Pro
- ↳ Old Airfoil Discussions
- ↳ Alexa
- ↳ EasyDAQ Relay Card
- ↳ Email+
- ↳ Global Property Manager
- ↳ iTunes (Discontinued)
- ↳ NOAA Weather
- ↳ SQL Logger
- ↳ Timers and Pesters
- ↳ WeatherSnoop
- ↳ Growl (Discontinued)
- ↳ iCal Alarm Processor (Discontinued)
- ↳ Indigo Server Software
- ↳ Indigo Mac Client App
- ↳ Indigo Touch for iOS
- ↳ Indigo Touch for the Web
- ↳ Indigo Reflectors (remote access)
- ↳ Extending Indigo
- ↳ AI Coding Agents
- ↳ Python Scripting
- ↳ Plugin SDK and Development
- ↳ Client APIs
- ↳ Integrating Services/Applications
- ↳ Hacking
- ↳ Help Converting to Python 3
- ↳ Help Converting from AppleScript
- ↳ AppleScript Scripting
- ↳ Extending Indigo with Plugins and Python
- ↳ Indigo Accounts, Website, Forums, How-To Wiki, and Documentation
- ↳ Archived Posts
- 3rd Party Plugins and Developers
- ↳ Plugin Lists
- ↳ Developer Information for this Forum
- ↳ AaronLionsheep’s Plugins
- ↳ ShellyMQTT
- ↳ ShellyNGMQTT
- ↳ AB's Plugins
- ↳ AD2USB Alarm Interface
- ↳ Anyone's Plugins
- ↳ Autolog's Plugins
- ↳ AWTRIX
- ↳ Dynamic View Controller
- ↳ Foscam HD Controller
- ↳ Hubitat
- ↳ LIFX Controller
- ↳ nanoleaf Controller
- ↳ Roon Controller
- ↳ SMAPPEE Controller
- ↳ Squeezebox Controller
- ↳ Starling Bridge
- ↳ Stella-Z Thermostat Controller
- ↳ Touch Portal
- ↳ TRV Controller
- ↳ Z-Wave Interpreter
- ↳ Zigbee2mqtt
- ↳ Benjamin Schollnick's Plugins
- ↳ Berkinet's Plugins
- ↳ Bill's Plugins
- ↳ Bouncing Ball LTD
- ↳ Dave's Plugins
- ↳ Announcements Plugin
- ↳ Bike Share Plugin
- ↳ Dave's Scripts
- ↳ GhostXML Plugin
- ↳ Indigo Log Viewer
- ↳ Matplotlib Plugin
- ↳ Multitool Plugin
- ↳ OWServer Plugin
- ↳ Z-Wave Node Matrix Plugin
- ↳ Deprecated Plugins
- ↳ Thingspeak Plugin
- ↳ WUnderstation Plugin
- ↳ WUnderground Plugin
- ↳ Fantastic Weather Plugin
- ↳ Duncan’s Plugins
- ↳ FlyingDiver's Plugins
- ↳ Ecobee
- ↳ Harmony Hub
- ↳ Home Assistant Agent
- ↳ LIFX Bridge
- ↳ Lutron
- ↳ miniUniFi
- ↳ MQTT
- ↳ Spy Connect
- ↳ Trane Nexia
- ↳ Twilio
- ↳ Other Plugins
- ↳ Discontinued Plugins
- ↳ RFPlayer
- ↳ MyQ
- ↳ Better Email
- ↳ GlennNZ's Plugins
- ↳ Actron QUE AC Plugin
- ↳ AppleTV Plugin
- ↳ BlueIris
- ↳ DeepState AI Plugin
- ↳ Deluxe Graphing
- ↳ Device Timer
- ↳ Dreame Vacuum Plugin
- ↳ Emby Plugin
- ↳ Enphase Envoy Solar
- ↳ ESPHome4Indigo
- ↳ FindFriendsMini Plugin
- ↳ Gecko Spa Plugin
- ↳ Holiday Plugin
- ↳ HomeKitLink Siri
- ↳ iMessage
- ↳ iRoomba iRobot Plugin
- ↳ Kiosk Home iOS App
- ↳ LedSimple Effects Plugin
- ↳ Mammotion Robot
- ↳ Paradox Alarm Plugin
- ↳ Sipura SPA VOIP Plugin
- ↳ Solar Smart
- ↳ Sunrise Plugin
- ↳ Tesla Battery
- ↳ Windows PC Remote Plugin
- ↳ Greg Glockner's Plugins
- ↳ Greg's Plugins
- ↳ Honeywell TC2 Security
- ↳ howartp's Plugins
- ↳ Clock Display
- ↳ EnergyLink
- ↳ Font Awesome
- ↳ Honeywell Evohome
- ↳ MyEnergi Hub
- ↳ Neo Smart Blinds
- ↳ Pulse Counter
- ↳ Sense Home Energy
- ↳ Sensibo
- ↳ Somfy Manager
- ↳ Tesla EV Control
- ↳ Variable Devices
- ↳ Verisure Alarm
- ↳ Volvo On Call
- ↳ Wakeup Scheduler
- ↳ ZWave Lock Manager
- ↳ ZWave Sensor Logger
- ↳ ZWave Scene Controller
- ↳ ZWave Watcher
- ↳ Zwave Window Controller
- ↳ Jason's Plugins
- ↳ GitHub Plugin Updater
- ↳ Network Devices
- ↳ Power Source
- ↳ Prometheus Client
- ↳ Prowl Notify
- ↳ RToggle
- ↳ Webcam
- ↳ XMPP Client
- ↳ JoyUnspeakable - Plugins by David Garozzo
- ↳ Bouncie OBD Plugin
- ↳ On-Screen Keyboard Plugin
- ↳ Automatic OBD-II (discontinued)
- ↳ Karl's Plugins and Scripts
- ↳ AppleTV Plugin
- ↳ ARDUINO Plugin
- ↳ Devices and Variables
- ↳ FINGSCAN
- ↳ Homematic Plugin
- ↳ homeAway - presence
- ↳ Hue Lights
- ↳ Archives
- ↳ Indigo Utilities
- ↳ INDIGOplotD
- ↳ Migrate SQLite to PostgreSQL
- ↳ Min / Max / Average Plugin
- ↳ Mother Plugin
- ↳ Network Scanner
- ↳ piBeacon
- ↳ SecondsSinceLastChange Plugin
- ↳ Shelly Plugin
- ↳ Simple Applescript to Indigo (SATI) Interface
- ↳ startupAction Plugin
- ↳ uniFi-WiFi-AP
- ↳ VoiceReceiver
- ↳ kmarkley's plugins
- ↳ Korey’s Plugins
- ↳ Anthem-Rs232
- ↳ Apple Music Control
- ↳ Music Manager
- ↳ Spotify Control
- ↳ Viewsonic Projector Rs232
- ↳ VLC Control
- ↳ Kwijibo007’s Plugins
- ↳ Doorbird
- ↳ Monoprice 6 Zone Amp
- ↳ SSH Switch
- ↳ Samsung TV
- ↳ Mpoulson’s Plugins
- ↳ Ring Doorbell
- ↳ Mr.Slim Heat Pump
- ↳ NuHeat Heated Floors
- ↳ EMA\BlueFrog Solar Micro-Inverters
- ↳ PurpleAir
- ↳ Nathan Williams' Plugins
- ↳ Nick's Plugins
- ↳ Autelis Jandy
- ↳ Autelis Somfy
- ↳ Hikvision Camera Alerts
- ↳ Honeywell Thermostat
- ↳ TED 5000
- ↳ Neil's Plugins
- ↳ Daikin Wifi Controller
- ↳ GivEnergy Cloud Controller
- ↳ Glow IHD/CAD Energy Monitor
- ↳ Honeywell Evohome
- ↳ Jaguar/Land Rover InControl
- ↳ Octopus Energy Agile Tariff
- ↳ Solcast Solar Forecast
- ↳ Velux Active
- ↳ WLED LED Controller
- ↳ papamac’s plugins
- ↳ Virtual Garage Door
- ↳ Pi GPIO
- ↳ Perry the Cynic
- ↳ racarter's plugins
- ↳ Blink
- ↳ Heatmiser Neo
- ↳ Hive
- ↳ Netatmo Multi
- ↳ Sunsynk
- ↳ Tapo
- ↳ Texecom
- ↳ Tuya
- ↳ Watchdog
- ↳ raneil's corner
- ↳ rbdubz3's Plugins
- ↳ Smart Setpoints
- ↳ Sylvania Lightify
- ↳ Light Scenes
- ↳ RFXCOM
- ↳ RogueProeliator's Plugins and Apps
- ↳ TiVo Network Remote
- ↳ Roku Network Remote
- ↳ Niles Audio Zone Receiver
- ↳ Sharp TV Network Remote
- ↳ Sony Bravia Network Remote
- ↳ DomoPad Android Client
- ↳ Onkyo Receiver
- ↳ Plex Media Server Manager
- ↳ Google Assistant
- ↳ Ryan Buckner's Plugins
- ↳ Tomorrow.io Plugin
- ↳ SearchCz's Plugins
- ↳ Roomify
- ↳ Securify
- ↳ Simon’s Plug-ins
- ↳ Claude Skill
- ↳ Domio
- ↳ Home Intelligence
- ↳ MCP Lite
- ↳ Netro Irrigation
- ↳ Sofabaton
- ↳ UK Trains
- ↳ TwitchCaptain's Home Automation Bazaar
- ↳ Broadlink Devices
- ↳ APC Metered Rack PDU
- ↳ Captain’s Recapitulation
- ↳ VTMikeL's plugins
- ↳ Auto Fan
- ↳ Auto Lights
- ↳ Grafana Dashboard and InfluxDB Client
- ↳ Security Spy Helper
- ↳ August Home
- ↳ Google Vision
- ↳ Just Add Power
- ↳ MCP Server
- ↳ WeatherSnoop
- ↳ WebDeck Software
- ↳ BAFControl
- ↳ homebridge-indigo (deprecated)
- ↳ WonderSlug's Plugins
- ↳ Archives (developer left platform)
- ↳ Bert's Plugins
- ↳ Indify
- ↳ Chameleon Plugins
- ↳ NEST Home
- ↳ iTravel
- ↳ LED Device Manager
- ↳ iFindStuff
- ↳ Bip's Plugins
- ↳ Colorado4Wheeler’s Plugins by EPS
- ↳ Unsupported and Legacy Plugins
- ↳ Homebridge Buddy
- ↳ Device Extensions Plugin
- ↳ HomeKit Bridge
- ↳ LCD Creator
- ↳ Other Indigo Bits and Bytes
- ↳ Room-O-Matic
- ↳ Scene Toggle
- ↳ Super Conditions (IF-THEN-ELSE)
- ↳ Firstnibble
- ↳ iAutomate.com Long Range RFID Plugin
- ↳ indilinq
- ↳ Jacob Lindehoff's Plugins
- ↳ Kristian's Plugins
- ↳ Mission Machines' Plugins
- ↳ Nathan Sheldon Software
- ↳ Proxidyne
- ↳ Sean's Plugins
- ↳ Spencer's Plugins
- ↳ thechad.io
- ↳ Travis' Plugins
- ↳ Smartphone Radar
- ↳ DSC Alarm Plugin
- ↳ DigiTemp 1-Wire Temperature Plugin
- ↳ Yergey's Forum
- ↳ ZachBenz's Plugins
- ↳ RingForIndigo
- User Contributions
- ↳ User Plugins
- ↳ Open Source Plugins
- ↳ Adapters
- ↳ Alexa-Hue Bridge
- ↳ DIRECTV DVR Control
- ↳ Dynamic Control
- ↳ HassBridge
- ↳ Photo Frame
- ↳ Pushover
- ↳ Archives
- ↳ Rachio
- ↳ Security Camera
- ↳ Sonos
- ↳ Vera Bridge
- ↳ Yamaha RX
- ↳ 8 Channel Network Relay
- ↳ Python Scripts
- ↳ Apple Shortcuts
- ↳ Other Scripts
- ↳ Control Page Designs and Images
- ↳ Other Applications and Integrations
- ↳ Miscellaneous
- ↳ AppleScripts
- ↳ Archived Posts
- General Home Automation Discussions
- ↳ Switching to Indigo
- ↳ Vendor Announcements
- ↳ Cool Home Automation Finds
- ↳ Help Wanted & Bounties
- ↳ How Do I...
- ↳ Switching Hardware Technologies
- ↳ User Modifications
- ↳ Classifieds
- ↳ General Home Automation
- ↳ General Chat
- Professional Installer Discussions
- ↳ Finding Installers
- ↳ Installer Discussions