Firstly, great plugin, thanks for your hard work. I am new to Indigo 6 but not OSX, it took a few goes to get the plugin working, here are my observations:
- The Command Line Tools link for 10.7 Lion on the download page is broken, it reports "You don't have permission to access /IndigoPlugins/Sonos/CLT_Lion.dmg on this server."
- Code: Select all
Traceback (most recent call last):
File "plugin.py", line 9, in <module>
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/Sonos.py", line 30, in <module>
File "./lib/zmq/__init__.py", line 35, in <module>
<type 'exceptions.ImportError'>: dlopen(./lib/zmq/utils/initthreads.so, 2): Library not loaded: /usr/local/lib/libzmq.1.dylib
Referenced from: /Library/Application Support/Perceptive Automation/Indigo 6/Plugins/Sonos.indigoPlugin/Contents/Server Plugin/lib/zmq/utils/initthreads.so
Reason: image not found- Code: Select all
sudo cp -pr local/ /usr/local
I have Lion so I downloaded from the Apple Developer site (note: some users may think the xcode download is needed but you can search just for the CLT).
After I had installed the Command Line Tools and ran the install_zmq.sh when I enabled the plugin the following error was logged:
I traced this down to the install_zmq.sh file found in the Sonos-ZeroMQ.zip file is missing a /, if like me you already have /usr/local, running the command creates a sub directory local under /usr/local, it should read
My final problem is that if the current track has a unicode character in the name, like songs from Cafe Del Mar, the SonosEvent.py throws an exception, I am still debugging this one and will provide more log information shortly, however I wondered if this particular problem has been seen before and what the resolution is?