Cant get iTunes to recognize plugin as remote

Posted on
Sat Apr 04, 2015 7:43 am
pgershon offline
Posts: 346
Joined: Jul 10, 2004

Cant get iTunes to recognize plugin as remote

In other words, I cannot pair the new device to iTunes. Speculating it has to do with iTunes 12 but really don't know.

I am not sure when this problem popped up as I have been using plugin for years without issue. iTunes (12.1) is not seeing the indigo plugin. My old device info is not updating so I tried to delete device and re-create it. I start a new plugin device, type iTunes, and model iTunes Server. I get a screen "Configure iTunes Server". But then when i go to iTunes, I don't see the device (I see my iPhone, iPod and Apple TVs). I confirmed that I can add a Remote to iTunes from my iPhone Remote App (it comes up as an additional device). I just cannot get iTunes to recognize the Indigo device. Any ideas?

(to add one more thing - I still pair fine with an older Mac on my network running iTunes 11 - seems to be iTunes 12 related)
(also worth noting that I see the device pop up for a split second when I hit the setting button, but it goes away before I can click. iTunes 12 is seeing something happen when I try to pair, but rejecting it)

Here is the debugging log:

Code: Select all
Apr 5, 2015, 8:40:36 AM
  iTunes Debug                    getDeviceConfigUiValues called
  iTunes Debug                        getDeviceConfigUiValues(): this is a new device
  iTunes Debug                        getDeviceConfigUiValues(): new guid: 6A14808AEF58158E
  iTunes Debug                        getDeviceConfigUiValues(): starting pairing thread
  iTunes Debug                    pairingThread: Starting run method
  iTunes Debug                        pairingThread: Waiting for pairing message

Apr 5, 2015, 8:41:45 AM
  iTunes Debug                    validateDeviceConfigUi called
  iTunes Debug                        validateDeviceConfigUi: thread is still running so no pairing was successful

Apr 5, 2015, 8:42:27 AM
  iTunes Debug                    closedDeviceConfigUi: device config dialog closed
  iTunes Debug                            closedDeviceConfigUi: pairing thread exists
  iTunes Debug                            closedDeviceConfigUi: pairing thread is running, cancelling
  iTunes Debug                        pairingThread: Received pairing message
  iTunes Debug                        pairingThread: From host: ('127.0.0.1', 62884)
  iTunes Debug                        pairingThread: Closing down
  iTunes Debug                    getDeviceConfigUiValues called
  iTunes Debug                        getDeviceConfigUiValues(): this is a new device
  iTunes Debug                        getDeviceConfigUiValues(): new guid: E804041E4FEE46F1
  iTunes Debug                        getDeviceConfigUiValues(): starting pairing thread
  iTunes Debug                    pairingThread: Starting run method
  iTunes Debug                        pairingThread: Waiting for pairing message
  iTunes Debug                    closedDeviceConfigUi: device config dialog closed
  iTunes Debug                            closedDeviceConfigUi: pairing thread exists
  iTunes Debug                            closedDeviceConfigUi: pairing thread is running, cancelling
  iTunes Debug                        pairingThread: Received pairing message
  iTunes Debug                        pairingThread: From host: ('127.0.0.1', 63031)
  iTunes Debug                        pairingThread: Closing down
  iTunes Debug                    getDeviceConfigUiValues called
  iTunes Debug                        getDeviceConfigUiValues(): this is a new device
  iTunes Debug                        getDeviceConfigUiValues(): new guid: BCFA2837530691AB
  iTunes Debug                        getDeviceConfigUiValues(): starting pairing thread
  iTunes Debug                    pairingThread: Starting run method
  iTunes Debug                        pairingThread: Waiting for pairing message
  iTunes Debug                    closedDeviceConfigUi: device config dialog closed
  iTunes Debug                            closedDeviceConfigUi: pairing thread exists
  iTunes Debug                            closedDeviceConfigUi: pairing thread is running, cancelling
  iTunes Debug                        pairingThread: Received pairing message
  iTunes Debug                        pairingThread: From host: ('127.0.0.1', 63229)
  iTunes Debug                        pairingThread: Closing down

Posted on
Sun Apr 05, 2015 8:03 am
pgershon offline
Posts: 346
Joined: Jul 10, 2004

Re: Cant get iTunes to recognize plugin as remote

Well I tried one other thing - doing a new install of Indigo server (V6) on a machine running 10.10.2 (as opposed to 10.10.3) and iTunes plugin worked, even with iTunes 12. So the issue must be with the 10.10.3 upgrade, which I wish I could easily undo for lots of reasons. Seems like 10.10.3 blocks iTunes plugin ability to pair with iTunes. It also crashes the "About" and "Preferences" on Indigo. At least for me.

Posted on
Sun Apr 05, 2015 12:53 pm
matt (support) offline
Site Admin
User avatar
Posts: 19817
Joined: Jan 27, 2003
Location: Texas

Re: Cant get iTunes to recognize plugin as remote

We fixed the crash in Indigo 6.0.21, but I'm not sure if that helps with the iTunes problem. Can you download the latest and see if the problem still occurs?

Image

Posted on
Sun Apr 05, 2015 1:49 pm
pgershon offline
Posts: 346
Joined: Jul 10, 2004

Re: Cant get iTunes to recognize plugin as remote

downloaded update. dialogs are fixed but not iTunes.

Here is log. I will try one other thing - to open library on machine running 10.10.2 and estabish iTunes links. Then move library back to 10.10.3 machine and see if it works, even if it cannot establish links.

Code: Select all
Apr 5, 2015, 3:46:55 PM
  iTunes Debug                    closedDeviceConfigUi: device config dialog closed
  iTunes Debug                            closedDeviceConfigUi: pairing thread exists
  iTunes Debug                            closedDeviceConfigUi: pairing thread is running, cancelling
  iTunes Debug                        pairingThread: Received pairing message
  iTunes Debug                        pairingThread: From host: ('127.0.0.1', 62476)
  iTunes Debug                        pairingThread: Closing down
  iTunes Debug                    getDeviceConfigUiValues called
  iTunes Debug                        getDeviceConfigUiValues(): this is a new device
  iTunes Debug                        getDeviceConfigUiValues(): new guid: D7D19830C69F402D
  iTunes Debug                        getDeviceConfigUiValues(): starting pairing thread
  iTunes Debug                    pairingThread: Starting run method
  iTunes Debug                        pairingThread: Waiting for pairing message
  iTunes Debug                    closedDeviceConfigUi: device config dialog closed
  iTunes Debug                            closedDeviceConfigUi: pairing thread exists
  iTunes Debug                            closedDeviceConfigUi: pairing thread is running, cancelling
  iTunes Debug                        pairingThread: Received pairing message
  iTunes Debug                        pairingThread: From host: ('127.0.0.1', 62595)
  iTunes Debug                        pairingThread: Closing down



Here is the code from the other machine. It links - sometimes - bit more often than not times out in the linking process. Here is the failure:

Code: Select all
Apr 5, 2015, 4:30:47 PM
  iTunes Debug                    getDeviceConfigUiValues called
  iTunes Debug                        getDeviceConfigUiValues(): this is a new device
  iTunes Debug                        getDeviceConfigUiValues(): new guid: 5032DA1CB6594551
  iTunes Debug                        getDeviceConfigUiValues(): starting pairing thread
  iTunes Debug                    pairingThread: Starting run method
  iTunes Debug                        pairingThread: Waiting for pairing message
  iTunes Debug                        pairingThread: Received pairing message
  iTunes Debug                        pairingThread: From host: ('192.168.0.101', 50043)
  iTunes Debug                        pairingThread: Closing down
  iTunes Debug                    validateDeviceConfigUi called
  iTunes Debug                        validateDeviceConfigUi: Pairing message was received from ip: 192.168.0.101
  iTunes Debug                    getMediaServerList: called
  Error (client)                  timeout waiting for plugin response from com.perceptiveautomation.indigoplugin.itunes for request UiValidate
  iTunes Debug                        getMediaServerList: ip: 192.168.0.100 and host: StudyiMac.local
  iTunes Debug                        getMediaServerList: ip: 192.168.0.101 and host: PerryMacintosh.local
  iTunes Debug                        validateDeviceConfigUi: serverList:
[('192.168.0.100', u'StudyiMac.local', u'StudyiMac.local:3689'), ('192.168.0.101', u'PerryMacintosh.local', u'PerryMacintosh.local:3689')]
  iTunes Debug                        validateDeviceConfigUi: successful pairing with host: ('192.168.0.101', 50043)
  iTunes Debug                        validateDeviceConfigUi: increasing pairCount to: 2
  iTunes Debug                    closedDeviceConfigUi: device config dialog closed
  iTunes Debug                            closedDeviceConfigUi: pairing thread exists


Finally. here is the log when I did successfully pair (and I have no idea why it did not time out this one time):

Code: Select all
2015-04-05 16:08:08.984   iTunes Debug   getDeviceConfigUiValues called
2015-04-05 16:08:08.984   iTunes Debug       getDeviceConfigUiValues(): this is a new device
2015-04-05 16:08:08.987   iTunes Debug       getDeviceConfigUiValues(): new guid: 324AF90158A654B9
2015-04-05 16:08:08.987   iTunes Debug       getDeviceConfigUiValues(): starting pairing thread
2015-04-05 16:08:08.987   iTunes Debug   pairingThread: Starting run method
2015-04-05 16:08:10.151   iTunes Debug       pairingThread: Waiting for pairing message
2015-04-05 16:08:22.509   iTunes Debug       pairingThread: Received pairing message
2015-04-05 16:08:22.510   iTunes Debug       pairingThread: From host: ('192.168.0.100', 61698)
2015-04-05 16:08:22.510   iTunes Debug       pairingThread: Closing down
2015-04-05 16:08:32.160   iTunes Debug   validateDeviceConfigUi called
2015-04-05 16:08:32.161   iTunes Debug       validateDeviceConfigUi: Pairing message was received from ip: 192.168.0.100
2015-04-05 16:08:32.161   iTunes Debug   getMediaServerList: called
2015-04-05 16:08:38.616   iTunes Debug       getMediaServerList: ip: 192.168.0.100 and host: StudyiMac.local
2015-04-05 16:08:38.617   iTunes Debug       getMediaServerList: ip: 192.168.0.101 and host: PerryMacintosh.local
2015-04-05 16:08:38.618   iTunes Debug       validateDeviceConfigUi: serverList:
[('192.168.0.100', u'StudyiMac.local', u'StudyiMac.local:3689'), ('192.168.0.101', u'PerryMacintosh.local', u'PerryMacintosh.local:3689')]
2015-04-05 16:08:38.618   iTunes Debug       validateDeviceConfigUi: successful pairing with host: ('192.168.0.100', 61698)
2015-04-05 16:08:38.618   iTunes Debug       validateDeviceConfigUi: increasing pairCount to: 2
2015-04-05 16:08:38.632   iTunes Debug   closedDeviceConfigUi: device config dialog closed
2015-04-05 16:08:38.632   iTunes Debug           closedDeviceConfigUi: pairing thread exists
2015-04-05 16:08:38.642   iTunes Debug   deviceStartComm: starting thread for 'iTunesServer2'
2015-04-05 16:08:38.646   iTunes Debug   getMediaServerList: called
2015-04-05 16:08:44.355   iTunes Debug       deviceStartComm: adding device id 63174706 to the active thread queue
2015-04-05 16:08:44.355   iTunes Debug   statusThread.run(): creating iTunes Controller...
2015-04-05 16:08:44.355   iTunes Debug       statusThread.run(): connecting and logging in at: 2015-04-05 16:08:44.354539
2015-04-05 16:08:44.355   iTunes Debug   TunesController.iTunesLogin() logging in at: 2015-04-05 16:08:44.354636
2015-04-05 16:08:44.365   iTunes Debug   ITunesController.iTunesLogin() Updating Cache
2015-04-05 16:08:44.373   iTunes Debug   ITunesController.updateCache: Database persistent ID: 0xD7D313FE7B952114
2015-04-05 16:08:44.373   iTunes Debug   ITunesController.updateCache: Database ID: 72
2015-04-05 16:08:44.390   iTunes Debug   ITunesController.updateCache: getting playlist parser
2015-04-05 16:08:44.392   iTunes Debug   ITunesController.updateCache: playlist count: 53

Posted on
Thu Apr 09, 2015 5:20 am
pgershon offline
Posts: 346
Joined: Jul 10, 2004

Re: Cant get iTunes to recognize plugin as remote

The official 10.10.3 update released yesterday seems to have fixed this problem. I can create new iTunes devices fine now with normal behavior.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest