I'm looking for a tweak that will stop playing music when the charger is disconnected from my iPod touch. I have a setup in my car where the iPod is in a dock and uses the line-out to go to the radio and the dock port going to a car charger. I leave it connected to the dock all the time. When I start my car, the iPod starts charging, and when I turn my car off, it stops charging. However, there have been times where I turn my car off and I forgot to stop the music on my iPod, only to find my iPod dead when I come back. I would love it if it would just automatically stop playing my music when I turn my car off. And better yet, it would be even MORE awesome if the music would automatically play again when I turn my car back on.. But that's less important. 
I'd really appreciate it if somebody could point me in the right direction, if something like this even exists. Thank you!!
I'd really appreciate it if somebody could point me in the right direction, if something like this even exists. Thank you!!