From welshbyte at sucs.org Mon May 5 01:49:02 2008 From: welshbyte at sucs.org (Andrew Price) Date: Mon, 05 May 2008 01:49:02 +0100 Subject: [SUCS Devel] Current Song In-Reply-To: <000601c8ae39$52d74e30$e5482152@DAVIDH> References: <000601c8ae39$52d74e30$e5482152@DAVIDH> Message-ID: <481E597E.1060804@sucs.org> On 04/05/08 23:51, Oliver Head wrote: > Our streaming Server was restarted for some reason (power cut or service restart or similar perhaps) and the current song information needs remounting please when you get a minute. Didn't seem like anything needed to be mounted but I restarted the loop that runs the metadata script and the 'Now playing' bit on the website seem to be working now. > Could this be set-up to automatically start after a reboot? This would need an initscript to be written to run 'python metadata.py' on startup and store a PID file so that it can be stopped and restarted too. I don't have time at the moment so I'm CCing the SUCS devel list in case anyone's bored of revision/dissertations/life and wants an easy project ;-) Cheers, -- Andy Price | SUCS Admin http://sucs.org