Move actual working functionality into a python module, and write a simple script to use it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27598 a1c6a512-1295-4272-9138-f99709370657