Mark's Python-Qt template script
Christoph Burgmer
chrislb at gmx.de
Thu Feb 8 17:01:47 UTC 2007
Hi,
I am using Mark's template which uses Python-Qt. I am neither used to working
with Qt nor with PyQt. All I initially did was copy the template and insert
my code, actually that's what you wanna do with a template. Later I realised
I had to do an os._exit(0) in my cleanup method, otherwise the script
wouldn't terminate when closed in amarok.
Now though I still have the effect that restarting KDE with a running instance
of Amarok will start my script twice when KDE is initialised and Amarok
loaded: Once from inside of Amarok and again from outside which (I have to
guess now) comes from KDE session management. Anybody there to help me solve
that second starting of my script?
Both issues could maybe find their way into the above template.
TIA
Christoph
More information about the Amarok
mailing list