Uses last.fm to see how long you've spent listening to music.
This script requires my fork of the last fm ruby plugin, you can find it at https://github.com/klinskyc/ruby-lastfm
- Install that gem (it fixes encoding and returns more information)
- Edit the script to have your username (replace cklinsky68 with your desired username)
- Run the script (e.g ruby lastfm.rb)