There's a winamp plugin that does exactly this. It rates how long you listened to the song and rates every song you've played. Then it picks songs based on what songs you listened to more. It's a great idea, but it was very unstable when i tried it out 2 years ago. Oh, and the name escapes me. I'm sure its on their webpage.