[Pythonmac-SIG] pyobjc class

2007-05-15 Thread julien ricard
hi, I'm trying to convert the objective-c class iTunesConnection.h shown below to a pyobjc class. What I've done so far is shown in iTunesConnection.py. The following line nc.addObserver_selector_name_object_(self, selector(updateNow), u"com.apple.iTunes.playerInfo",None) returns an error: "glob

[Pythonmac-SIG] pyobjc install

2007-05-11 Thread julien ricard
hi, I'm trying to install pyobjc by generating a mpkg with python 2.5 using: python setup.py bdist_mpkg --open at some point I get the error shown below. I guess it has something to do with my installation of pyqt... Anybody could help? thanks creating Users/jul/pyobjc-1.4/b-/uild/py2app/bdist

[Pythonmac-SIG] signal from itunes when song changes?

2007-05-09 Thread julien ricard
hi, I'm building a kind of plugin for itunes using python and qt. In order to practice a bit, I've started with a very simple one: display the song currently played (no 'update' button). The problem is that I don't know how to get the signal from itunes when the song changes in order to update the