Amarok-search
Robby Stephenson
robby at periapsis.org
Tue Sep 12 23:06:22 MDT 2006
On Monday 11 September 2006 12:31, Carlos Gonçalves wrote:
> 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.
Good idea, thanks. That'll be a good thing to have in there.
Robby
More information about the tellico-users
mailing list