DynaMPD
DynaMPD copied to clipboard
act as python daemon
Hi,
I recently found this piece of sftware and got it working (after getting a working api_key from google ;)). Brilliant. The only thing is that I would like to have it work in the background as daemon (run on the mpd-machine).
Could you let daemonize the script? I think you have to do some double-forking. Checkout http://mpd.wikia.com/wiki/Hack:mpd-notify.py for an example.
kind regards, Henning
Yeah the API key doesn't work anymore :(
What benefit is there in having the code deamonize itself when you can just use your shell feature?
It's just nicer, because you won't have to build a script around it to damonize. I think to do it properly prevents processes to become zombious... "daemon.py &" alone won't serve and I don't know if "( daemon.py &) &" does it well enough.
Am 05.01.2013 12:35, schrieb Clément Bœsch:
Yeah the API key doesn't work anymore :(
What benefit is there in having the code deamonize itself when you can just use your shell feature?