Small command line app to kill ipod on a timer for those that want a sleep function.
Usage:
"pkill " from terminal.
duration -> integer
suffix -> s: seconds
m: minutes
h: hours
example invocation: pkill 10s
Make sure you run as root (su root).
Type pkill --help or pkill for help in terminal.
It basically sets the duration to what the user enters and stops the Music Player after that duration. I developed it because I fall asleep listening to my iPod regularly and wake up to it still playing with a dead battery. When this small cmd runs it ll close Terminal also to decrease memory usage.