flwyd: (bug eyed earl)
My iPod Shuffle full of podcasts was out of batteries this morning, so I grabbed one with a bunch of audiobooks. Not realizing it was on shuffle, I listened to Fear and Loathing in Las Vegas.

I had not previously experienced the story in its intended sequence, but I think the experience is enhanced by hearing chapters in a random order. It gives the sense of piecing together a crazy weekend in sin city, which is basically what the story is about. A bit like the cut-up method under listener control.
flwyd: (spam lite)
Which is weirder? You can buy a taser that plays mp3s and an iPod-integrated George Foreman grill. And you thought you had to jog in order to listen to music and cut fat.
flwyd: (hexley fork)
At some point, my iTunes library location was incorrectly set to the Music folder in my home folder instead of my external hard drive. [livejournal.com profile] tamheals downloaded several albums, ripped a few, and we bought six songs from the iTunes store. At a later time, the setting was changed to the correct location on the external hard drive and the files from the Music folder were re-added to iTunes and copied to that path. I therefore had two (in some cases three) entries per song for these albums. One evening I went through and moved the Music files to the trash and deleted them from the iTunes list, making sure I could still play them. A few weeks later, Tam emptied the trash. Suddenly, all of the files I'd deleted were marked as missing from iTunes. Somehow (presumably user error) the files were no longer on the external hard drive.

The iTunes Store (unlike Calabash) only lets you download each purchased song once and advises you that you can burn them to CD. Burning a CD with six unconnected songs hadn't seemed like an important move. This is not a feature which benefits the consumer in any way

Fortunately, most of the deleted files are on Tam's iPod. Unfortunately, the iPod file system is obfuscated. Fortunately, there's a mp3info Ruby gem and I've been reading the Ruby Cookbook. I wrote the following script to go through all the mp3 files on the iPod and print the title, artist, album, track, and file path. I then went through the songs marked missing in iTunes and copied the file names into a text file, munging each line into a copy statement.

The script doesn't work on .m4a (AAC) files since mp3info can't handle them. Several minutes of googling finds only references to an MP4Tag ruby library by Miles Egan. Links to that page produce a 404. Archive.org has the old page, but didn't archive the tarball. The site seems to have been hijacked. If I get ambitious I may try to find an AAC specification and parse the files myself, but I think I'll accomplish the task with a list of songs I'm looking for and grepping each .m4a file.

Update, two hours later: Files purchased from the iTunes Store have a .m4p extension (rather than .m4a), so recovering the MIA purchased songs was a simple as ls -l /Volumes/RhiPod/iTunes_Control/Music/*.m4p and comparing the file modification dates with those iTunes remembered for the missing songs. I also found faad2 and installed it through DarwinPorts. faad2 is a decoder for AAC files and the -i command line option prints a lot of information, including metadata. I ran it on all the .m4a files and saved the output to a textfile which I can process with the flip-flop (..) operator.

findmp3s.rb )

Rock the Calabash

Saturday, October 14th, 2006 03:30 pm
flwyd: (asia face of the earth relief)
Terrasonic on KGNU 1390 AM today mentioned World Music dot National Geographic dot com. It turns out it's a collaboration with Calabash Music. Calabash's slogan is "The World's First Fair Trade Music Company," meaning that artists get 50% of sales, which is a damn good deal.

The site offers DRM-free mp3s from scores of world artists. Like iTunes Music Store, songs are 99 cents a piece, but only 75 cents a piece if you buy 20 credits at a time. They also provide a free single every day. I added their RSS feed to my Google Homepage, but Google doesn't show the artist's picture and the feed doesn't provide the artist or song name. The service is entirely browser-based, including minute-long song sampling. The UI for song sampling could be improved by enqueuing songs at the bottom of the list rather than interrupting the current song and playing it after the new song finishes.

I'm still not sure how I feel about buying music online. I've bought about 20 singles on iTunes, mostly for [livejournal.com profile] tamheals, but I've never bought an entire album online. I like the physical CD: album art, lyrics, easily transportable case. I typically buy music at local independent used CD stores. Not only does it support local businesses and keep money in the community, the average used CD price is about $7 or $8, so I usually get a slightly better deal than the $1 a song that most download services charge. Pricing by the album also means that an album by The Clancy Brothers (no songs longer than three minutes) isn't twice as expensive as one by Tabla Beat Science (average song length close to ten minutes).

On the flip side, buying used CDs doesn't directly fund the musicians. I don't think this is a big deal when buying albums by artists who are popular (does U2 care if I buy used instead of new) or dead (I wonder what Robert Johnson could do with $15 delivered by time machine). But bypassing production and distribution costs and having some group in Africa get 50% of the price sounds like a socially and environmentally responsible way to listen to good tunes. I don't get a glossy book, but I can stick a picture in iTunes and may be able to download the lyrics, allowing me to give the album as a DIY present.
December 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2025

Most Popular Tags

Expand Cut Tags

No cut tags

Subscribe

RSS Atom
Page generated Friday, January 2nd, 2026 03:44 am
Powered by Dreamwidth Studios