guess my music competition

So I could listen to semi-disposable CDRs in the car (and with that phrase, my green cred has vanished) I wrote a program that converts directories of mp3s to WAV files and TOC files for cdrdao. It works rather well.

In order to get sensible file names, the program truncates album names down to eight letters. I will send $5 canadian by paypal to the first person to guess correctly the album and artist of the following four names:

dancetun
darlingc
hepooscl
maggotbr

Answers in the comments only, please. They’re all official releases, before you accuse me of getting you to guess my mix CDs.

not so shuffley

Coincidence, I know, but what’s the odds that, out of more than 460 songs, my nano just played “The Continental”, followed by “Cheat” – both by The Sadies, but different versions of the same tune from different albums? Whoah!

in the running

Almost ‘Best of The Year’ time. In the running are:

A Hawk and a Hacksaw – The Way the Wind Blows
A.C. Newman – Souvenir of Canada – EP
Beck – The Information
Calexico – Garden Ruin
Casper & the Cookies – The Optimist’s Club
Colin Meloy – Colin Meloy Sings Shirley Collins
Eels with Strings – Live At Town Hall
Elf Power – Back To The Web
Erynn Marshall – Calico
Faun Fables – The Transit Rider
Grandaddy – Just Like The Fambly Cat
Grant-Lee Phillips – nineteeneighties
Hidden Cameras – Awoo
Joanna Newsom – Ys
Jolie Holland – Springtime Can Kill You
King Biscuit Time – Black Gold
Mayor McCa – Cue Are Es Tea You
Peter Stampfel – The Jig Is Up
Robyn Hitchcock & The Venus 3 – Olé! Tarantula
Sufjan Stevens – Songs For Christmas – Volume V: Peace
Sufjan Stevens – The Avalanche – Outtakes And Extras From The Illinois Album
The Be Good Tanyas – Hello Love
The Decemberists – The Crane Wife
The Essex Green – Cannibal Sea
The Flaming Lips – At War With The Mystics
The Handsome Family – Last Days of Wonder
The Instruments – Cast A Half Shadow
The Sadies – In Concert Vol. 1
The Wailin’ Jennys – Firecracker
Thom Yorke – The Eraser
Thomas Dolby – The Sole Inhabitant
Wendy Arrowsmith – Crying Out
Yo La Tengo – I Am Not Afraid Of You And I Will Beat Your Ass

Miraculously, all of them fit on my iPod Nano, so they’ll be in heavy rotation over the next week or so while I decide.

music of 2005

It’s getting towards the end of the year, so I’m thinking about what albums I enjoyed most. These are the 2005 albums I have in my collection:

  • A Hawk And A Hacksaw — Darkness At Noon
  • Aimee Mann — The Forgotten Arm
  • Animal Collective — Feels
  • Beck — Guero
  • Bettye Lavette — I’ve Got My Own Hell To Raise
  • Bright Eyes — Digital Ash In a Digital Urn
  • Bright Eyes — I’m Wide Awake, It’s Morning
  • Calexico / Iron & Wine — In the Reins
  • Caribou — Marino Audio
  • Dan Jones — Get Sounds Now
  • The Decemberists — Picaresque
  • Deerhoof — The Runners Four
  • Devendra Banhart — Cripple Crow
  • Dressy Bessy — Electrified
  • The Duhks — The Duhks
  • Eels — Blinking Lights And Other Revelations
  • Fiona Apple — Extraordinary Machine
  • Gorillaz — Demon Days
  • Grandaddy — Excerpts From The Diary Of Todd Zilla
  • Jennifer Gentle — Valende
  • John Parish — Once Upon a Little Time
  • Kate Bush — Aerial
  • Kate Rusby — The Girl Who Couldn’t Fly
  • Kimberley Rew — Essex Hideaway
  • Lazerlove5 — Flicker Mask
  • Lemon Jelly — ‘64–‘95
  • The Lollipop People — We Need a New F-Word
  • Malcolm Middleton — Into The Woods
  • Marbles — Expo
  • The Mountain Goats — The Sunset Tree
  • My Morning Jacket — Z
  • Of Montreal — The Sunlandic Twins
  • Sigur Rós — Takk …
  • Sleater-Kinney — The Woods
  • Sufjan Stevens — Illinois
  • The Vanity Project
  • Wolf Parade — Apologies to the Queen Mary

I know there are some that won’t make my list (Aerial, for one) but the rest of them all have their moments.

batch renaming iTunes directories

In partial response to the Ask Metafilter question “How can I rename my music folders on my Mac based on ID3 tags?“:

#!/bin/bash
# itunes_sanity.sh - fix dir names created by iTunes
# only works for mp3s, and not actually tested on a Mac
# created by scruss on Sun Sep 4 22:05:00 EDT 2005

find "$@" -type d -mindepth 1 | while read directory
do
  artistdir=$(dirname "$directory")
  firstfile=$( find "$directory" -type f -iname '*.mp3' | head -n1 )
  year=$( id3info "$firstfile" | egrep ' TYE ' | sed 's/=== TYE (Year): //; s/[^0-9]*//;' )
  album=$( id3info "$firstfile" | egrep ' TAL ' | sed 's,=== TAL (Album/Movie/Show title): ,,;' )
  echo mv \'$directory\' \'$artistdir/\[$year\] $album\'
done

So if you were in the terminal, in your music library (one up from the individual artist directories), and you did:

itunes_sanity.sh Dan\ Jones Tripping\ Daisy

you’d get:

mv 'Dan Jones/Get Sounds Now' 'Dan Jones/[2005] Get Sounds Now'
mv 'Dan Jones/One Man Submarine' 'Dan Jones/[2003] One Man Submarine'
mv 'Tripping Daisy/Jesus Hits Like the Atom Bomb' 'Tripping Daisy/[1998] Jesus Hits Like the Atom Bomb'

If that looks okay, run the output through the shell:

itunes_sanity.sh Dan\ Jones Tripping\ Daisy | sh

and all should be well.

You’ll need id3lib, which is probably most easily installed from Fink. Also, this only works for mp3 files; I can’t grok the tag info for AAC files. And finally, this might go seriously screwy on weird characters in filenames. You know my feelings on that …