1. Open up the music player on your computer.
2. Set it to play your entire music collection.
3. Hit the "shuffle" command.
4. Tell us the title of the next ten songs that show up (with their musicians), no matter how embarrassing. That's right, no skipping that Carpenters tune that will totally destroy your hip credibility. It's time for total musical honesty. Write it up in your blog or journal and link back to at least a couple of the other sites where you saw this.
5. If you get the same artist twice, you may skip the second (or third, or etc.) occurances. You don't have to, but since randomness could mean you end up with a list of ten song with five artists, you can if you'd like.
Here's my list:
| Song | Artist | Album |
|---|---|---|
| African Dance | Soul II Soul | Club Classics Vol. One |
| When The Angels Fall | Sting | The Soul Cages |
| Bliss | Muse | Origin Of Symmetry |
| Moments Of Pleasure | Kate Bush | The Red Shoes |
| Love Of My Life | Santana | Supernatural |
| 'Jig' Fugue In G | Peter Hurford | Bach: Toccata and Fugue in D minor |
| No Good | B.B. King | Completely Well |
| I Knew You | Tanita Tikaram | Cappuccino Songs |
| Get Up (Sex Machine) | James Brown | 20 All-Time Greatest Hits |
| Not My Idea | Garbage | Garbage |
Via Erik.
Posted to iPod by Simon Brunning at December 08, 2004 10:10 AMHmmm, I'm writing my own player and it doesn't have any easy way of doing this.
On the other hand, all the data is in a postrgres database, I could write some code to do it I guess.
Not sure that there's a SQL solution.
You could probably do it in half a dozen lines of idiomatic Python, Darren, including querying the database. Less if you didn't mind an unreadable mess. ;-)
It would look something like (untested):
import pg, random
database = pg.pg('darrens_music', 'user_id', 'password')
cursor = database.cursor()
cursor.execute('select name, artist, album from tracks')
tracks = cursor.fetchall()
print list(random.choice(tracks) for i in range(10))
There you go, six. ;-) (Mind you, I've never used Python's PostgreSQL module - I've used standard DB-API[1] syntax here.)
Might take a couple more if you wanted to weight by rating. Hmmm...
[1] http://www.amk.ca/python/writing/DB-API.html
Posted by: Simon Brunning on December 8, 2004 01:30 PMDone it. :-)
I had Java code already written to get the stuff out, I just needed a main method, Collections.shuffle and something to print the first 10.
http://boncey.org/2004_12_8_playlist_meme
I haven't reloaded winamp on my work laptop since i got a new hard drive but I can do the same thing on my Rio Karma. Here's my list. The only one I cringe at is 'Baby Baby' by Amy Grant.
Turn it on, Turn it up, Turn me loose - Dwight Yoakam
I Love You - Yello
Welcome Home - Apocalyptica
Guerilla Radio - Rage Against the Machine
Baby Baby - Amy Grant
Graceland - Paul Simon
Ain't that Lonely Yet - Dwight Yoakam
Loser - Beck
Flamenco Cabaret - The Gourds
Like a Stone - Audioslave
*Thank you - Alanis Morrisette
*(11th track to make up for two Dwight Yoakam songs)
Now this is not totally representative because I don't have all of my music on my Karma but its close.
Posted by: j on December 8, 2004 02:28 PMThe Trick Is To Keep Breathing, Garbage
Temple Of Everlasting Light, Kula Shaker
Feelin' The Same Way, Norah Jones
Champagne Supernova, Oasis
Tits On The Radio, Scissor Sisters
We Never Change, Coldplay
This Time, The Verve
Who Is It, Michael Jackson
A Rush Of Blood To The Head, Coldplay
Don't laugh now... :-)
Oh alright then....
1. Yellow - Coldplay
2. No distance left to run - Blur
3. Let down - Radiohead
4. I wanna be adored - Stone Roses
5. Killing in the name - Rage against the machine
6. Freedom fighters - The Music
7. Sabotage - The beastie boys
8. Cannonball - The breeders
9. 2000 light years from home - The rolling stones
10. The rat - The walkman
Venice Queen, Red Hot Chili Peppers, By The Way
Look Back In, Moby, 18
Confetti, The Lemonheads, Its a shame about Ray
Nocturne in Paris, Usual Masters, Buddha Bar vol IV Disc 2
Opus 132, William Orbit, Pieces in a Modern Style
Brand New Start, Paul Weller, Modern Classics
Lemon, U2, Zooropa
Quiet, Smashing Pumpkins, Siamese Dream
Muffeled Drums, Jam & Spoon, Tripomatic Fairytales 2001
Rock DJ, Robbie Williams, Sing when you're winning
Mine are up here: http://www.magpiebrain.com/archives/2004/12/23/playlist
Posted by: Sam Newman on December 23, 2004 03:23 PM