Amarok-search
Carlos Gonçalves
vixiado at zmail.pt
Mon Sep 11 13:31:33 MDT 2006
Please consider add this piece of code just after the __main__ of
amarok-search script:
amarok_run = os.popen('ps -A | grep amarokapp')
if len(amarok_run.read()) < 1:
os.system('kdialog --sorry "<center>Amarok Off \n</center> Please load it if
you want to use the Amarok search feature."')
sys.exit(0)
This way if Amarok isn't running the user get a "sorry popup" warning for the
fact that Amarok isn't running instead of an "error popup" and amarok-search
stop automaticly.
Carlos
More information about the tellico-users
mailing list