Music DB import script (in perl) (New Version)

Speak your mind

Music DB import script (in perl) (New Version)

Postby alaricljs on Wed Nov 24, 2004 6:04 pm

I wasn't entirely happy with the music database options, so I wrote a perl script to assemble a music DB my way.

Features:
- Ogg specific
- Behaves like Artist>Albums except in special cases
- 2 folders to segregate "Various Artists" type albums, these are: Soundtracks and Various Artists (easily expanded)
- Proper sorting. ex: The Alan Parsons Project sorts under A, Tori Amos sorts under A. (Must have proper directory layout/tagging for this to work)
- Detects cover art for Artist and Album levels
- Optional collection name at Artist level (for display in a category)

Requires:
perl modules:
Encode, Cwd, DirHandle, Ogg::Vorbis::Header::PurePerl

For the sorting to work, your Artist and Album folders must naturally sort the way you want it to appear in Xlobby. For instance the Tori Amos folder is "Amos, Tori" and The Planets is "Planets, The". Within your ogg files tagging should be normal. (Tori Amos, and The Planets)

I think that covers it. Enjoy, tell me what you think.

Don't forget to have Xlobby sort your db after loading the first time.

http://www.mooluv.com/Leeman/musicdb.pl

[EDIT] - interestingly enough, leaving out the "parameter" value for an album meant that filters didn't work. Took me a bit to figure that one out. So there is now a new version at the link above.

Bug fix: filters not working with db generated by script
Last edited by alaricljs on Tue Dec 14, 2004 7:18 pm, edited 1 time in total.
alaricljs
 
Posts: 82
Joined: Wed Nov 17, 2004 6:46 pm

Postby mattdisaster on Sat Nov 27, 2004 4:31 pm

Good deal man! I'de move this over to the plugin section if I were you, I haent had a chance to check it out but I'm sure someone is itching for it.

-matt
mattdisaster
 
Posts: 257
Joined: Tue May 27, 2003 6:40 am
Location: Branford, CT

Postby alaricljs on Sat Nov 27, 2004 6:39 pm

Not exactly a plugin tho, so I figured I'd toss it out here and see what people had to say. If Steven wants it in plugins, that works for me :)

BTW - holy small world, Batman.... I live in CT.
alaricljs
 
Posts: 82
Joined: Wed Nov 17, 2004 6:46 pm

Postby mattdisaster on Sat Nov 27, 2004 9:32 pm

Small world indeed. Where abouts in ct? As you can see, I'm located in branford, right near new haven.

-matt
mattdisaster
 
Posts: 257
Joined: Tue May 27, 2003 6:40 am
Location: Branford, CT

Postby alaricljs on Sat Nov 27, 2004 10:02 pm

I live in Oxford, right near New Haven. My office was in New Haven til the moved me to Woodbridge.
alaricljs
 
Posts: 82
Joined: Wed Nov 17, 2004 6:46 pm

New version...

Postby alaricljs on Tue Dec 14, 2004 7:55 pm

See the first post,

New version has been made due to filters not working. Woops!
alaricljs
 
Posts: 82
Joined: Wed Nov 17, 2004 6:46 pm