?

Log in

Ramblings Journals I Read Calendar The Dirt MegaZone's Waste of Time Older Older Newer Newer
Ripping for fun and profit... - MegaZone's Safety Valve
The Ramblings of a Damaged Mind
zonereyrie
zonereyrie
Ripping for fun and profit...
OK, no profit. But I've finally ripped all my CDs (almost - turns out my Pulp Fiction CD is missing. I opened the case, nothing inside - anyone have it? Guess I'll buy another one. And I haven't ripped my Stand Alone Complex OST1 yet because I need to swap it - I have a faulty one) - 11028 songs, 31.6 days, 41.35GB. I ripped everything as 128Kbps AAC.

I need to make time for my 'media server' conversion of my old desktop box ASAP - my laptop drive is now almost completely full, I had to uninstall software I don't use (like MS Office) to make room to finish ripping. I need a bigger server, and I'll feel better with RAID - everything is just on this one drive now.

I'm debating weeding out duplicates from the list. I have a number of singles, collections, etc, which have tracks that I also have from albums. But I don't know if it is really worth the work, there aren't *that* many.

Also, as you can see from the link, the text version of the iTunes Library isn't very readable. Before I reinvent the wheel, does anyone know of a decent PHP or Perl script that can turn the iTunes XML library file into HTML, or, better, do it dynamically for sorting, etc? I can write one, but if there is a good one I'd rather not waste the time.

Now I need to make some food. I emailed in sick this morning and spent most of the day in bed. I feel OK now, but I was completely non-functional this morning. Now I'm getting hungry...

I am: accomplished accomplished
Current Media: Rob Zombie: Hellbilly Deluxe - The Ballad Of Resurrection Joe And Rosa Whore

9 STDOUT || STDIN
Comments
jarodrussell From: jarodrussell Date: January 25th, 2005 06:47 am (UTC) (Direct Link)
What MP3 player do you prefer?
zonereyrie From: zonereyrie Date: January 25th, 2005 06:54 am (UTC) (Direct Link)
Well, I have everything in AAC - not MP3 - I use iTunes on my PC and I have an iPod.
jarodrussell From: jarodrussell Date: January 25th, 2005 08:00 am (UTC) (Direct Link)
I sure hope I didn't completely miss you saying you used iTunes up in your post.

As for changing the XML to HTML, why not use an XSLT transformation?
zonereyrie From: zonereyrie Date: January 25th, 2005 09:47 am (UTC) (Direct Link)
No, I added that after realizing I never mentioned it. I was thinking iTunes and forgot people reading my post might not know the context.

I could do a transform too. And if I want to produce a static page I probably will - I have XMLSpy installed for work, so it is simple enough. But I think I may write something that can display the info in different ways.
jarodrussell From: jarodrussell Date: January 25th, 2005 03:17 pm (UTC) (Direct Link)
If you don't mind fiddling with COM and (as a personal iTunes hacking preference) Python, you could tap the iTunes API and save yourself a lot of parsing troubles.
zonereyrie From: zonereyrie Date: January 25th, 2005 09:53 pm (UTC) (Direct Link)
Thing is, I was thinking of putting it up on my website so anyone can look at the listing, change the sort, etc. So it wouldn't be talking to my iTunes box directly.

Plus I suck at Windows coding - the only things I've programmed on Windows are web applications in Perl, PHP, ASP, or .Net. Never a 'Windows native' app.
jarodrussell From: jarodrussell Date: January 25th, 2005 10:06 pm (UTC) (Direct Link)
Ah! I thought it was for your own library needs internally, not for a website. That's an interesting puzzle.
zonereyrie From: zonereyrie Date: January 25th, 2005 10:34 pm (UTC) (Direct Link)
I've looked at the XML. It isn't a hard problem - a large part of my job is XML, XSLT, and working with XML in PHP, Perl, C#, etc. It is just a matter of time - as in, I don't have a lot of it to do these projects.
jarodrussell From: jarodrussell Date: January 30th, 2005 08:58 am (UTC) (Direct Link)
Might this save you a bit of time?
9 STDOUT || STDIN