web log free

That last song...

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. Let me correct that: There was no 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 easily delete songs you hate and find the songs you love to give them 5 stars. Note: The link goes always to the latest version.

I recommend putting the last.py on the root directory of your shuffle. You can then start it from there using python last.py on the command line. Note that as of version 0.2, last.py will find your mounted shuffle regardless from where you start it.

last played is released under the terms of the GNU GPL. You know the drill.

One Problem

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.


  • 0.3 (2005-09-03) shuffle detection now also for windows, sequence mode detection
  • 0.2 (2005-08-22) automatic iPod shuffle detection (POSIX)
  • 0.1 (2005-08-02) initial release

To do

  • shuffle finding for non-POSIX operating systems. I have a windows on this machine, where I can test it. Alas, I do not have access to a mac-os (pre X) machine. Can someone help me?
  • mode detection testing - as of version 0.3, regardless if you listened in shuffle mode or sequence mode, the correct files will be shown. However, if you switched modes during the last titles played, the result will be wrong for all files before the switch occurred (Actually I use my shuffle in shuffle mode exclusively, so YMMV).


Anonymous Anonymous said...

Does it mean that if that obnoxious song comes up in shuffle mode, you can't turn your shuffle off, since that will set the shuffle to play-in-order for the millisecond it takes to move the switch?

I.e; you need to get to a computer ASAP to find the name of the song?

6:01 pm  
Anonymous Anonymous said...

hey did you know you can get a free ipod pretty easily?
just go to www.getipodsforfree.com, sign up and do an offer

7:52 am  
Anonymous Anonymous said...

Great work!
[url=http://yspgfody.com/lbvb/ftuq.html]My homepage[/url] | [url=http://cfxwhjdu.com/rvft/gnuw.html]Cool site[/url]

11:06 am  
Anonymous Anonymous said...

Well done!
My homepage | Please visit

11:06 am  
Anonymous Anonymous said...

Thank you!
http://yspgfody.com/lbvb/ftuq.html | http://pbzlxmzr.com/dilv/zehn.html

11:06 am  
Anonymous Anonymous said...

ual dating free site http://loveepicentre.com/success_stories.php dating sites like vampire freaks

3:09 pm  
Anonymous Anonymous said...

manchester speed dating [url=http://loveepicentre.com/advice.php]online dating download[/url] girl help on dating
disadvatges of dating [url=http://loveepicentre.com/]dating japanese girls[/url] japanese beauties photo dating
hepres dating [url=http://loveepicentre.com/advice.php]dating site exclusive to california resident[/url] types of men to avoid dating

7:17 pm  
Anonymous Anonymous said...

kriminalgeschichte des christentums pdf ebook download http://audiobooksworld.co.uk/V-Fock/m127898/ free awaken the giant within ebook [url=http://audiobooksworld.co.uk/es/William-T-Larking/m133009/]evasion ebook online for free pdf[/url] ebooks ebook

5:37 am  
Anonymous Anonymous said...

oziexplorer software http://buyoem.co.uk/product-28046/Paragon-Drive-Backup-Server-10-0-x64 outside in software program [url=http://buyoem.co.uk/it/product-37380/Chily-Registry-Cleaner-7-1]panasonic vdr-d200 editing software[/url] gps2cad software freeware
[url=http://buyoem.co.uk/product-35365/3herosoft-iPad-to-Computer-Transfer-3-5-MacOSX]3herosoft iPad to Computer Transfer 3.5 MacOSX - Download OEM, Software Sale, OEM Software[/url] math software free

8:45 pm  
Anonymous Anonymous said...

I'm really loving the theme/design of your site. Do you ever run into any web browser compatibility problems? A number of my blog readers have complained about my blog not operating correctly in Explorer but looks great in Safari. Do you have any advice to help fix this issue?

Here is my website: View my web page

3:08 am  

Post a Comment

<< Home