last played is a small script that shows the last 5 files a mounted iPod shuffle played in shuffle mode.
Since you look at this page, you probably own an iPod shuffle. If you are like me, you like to upload new music on it, set it to shuffle mode and enjoy. Yeah!
Until there comes a song you really love or hate, but your trusty shuffle lacks a display, so there is no way to know (other than to memorize some lyrics and google for them) which song it was.
Luckily, there is an easier way: last played is a small python script that will put the last 5 (or whatever you tell it on command line) files you listened to on screen. Now you can simply delete songs you hate and give 5 stars to songs you love.
I recommend putting the last.py on the root directory of your shuffle. You can then start it from there using
on the command line.
last played is released under the terms of the GNU GPL.
· Since the iPod shuffle recreates its shuffle sequence whenever the end of the current shuffle sequence is reached, the script might return wrong results now and then. I have not yet tested it thoroughly enough to confirm it, sorry. However, this should not happen too often.
What's New in This Release:
· This version now (probably) finds a shuffle under MS Windows, and detects if the sequential mode was set, showing the right files in this case.