Drak
fff
Ok I got this written out in a executable gpe to run madplay in the background with drmd.
So far I have no luck with it. I get a black screen. Can someone tell me whats wrong? Or does this not work properly yet I wont give up!
Thanks.
Code:
#!/bin/sh
mount /mnt/sd -o remount,sync
/mnt/sd/bin/madplay --adjust-volume=0 -z -r /mnt/sd/music/*.mp3&
cd /mnt/sd/
/mnt/sd/DrMD.gpe
sync
mount /mnt/sd -o remount,async
madplay_pid=`pidof madplay`
echo "kill -9 $madplay_pid" >> /mnt/sd/bin/madplay_output.txt
kill -9 $madplay_pid
cd /usr/gp2x/
exec /usr/gp2x/gp2xmenu
Thanks.