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

Daniel Lord daniellord at mac.com
Wed May 9 23:49:20 CEST 2007


I forgot to copy the list ;-)

Begin forwarded message:

> From: Daniel Lord <daniellord at mac.com>
> Date: May 9, 2007 10:30:41 PDT
> To: julien ricard <jujulj at gmail.com>
> Subject: Re: [Pythonmac-SIG] signal from itunes when song changes?
>
> Growl does it, so there must be a way to register for state change  
> notifications as a listener (I am speculating).
> Maybe check the Growl SDK and find out how their iTunes Growler works.
> Google for Growl and then access the developer information to get  
> the SDK which should have the source code for the iTunes module.
> Someone better versed in this may chime in as well.
>
> Daniel
>
> On May 9, 2007, at 10:16, julien ricard wrote:
>
>> 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 song
>> information in my qt app. I've done a loop checking when the name
>> change, but it doesn't look very optimal... Anybody could help?
>>
>> thanks!
>>
>> jul
>> _______________________________________________
>> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20070509/98047a51/attachment-0001.html 


More information about the Pythonmac-SIG mailing list