pyd3

This is a project I started backwhen I first started learning python, and I haven't done much with itsince. There are several py tools that do ID3 manipulation (all builton Ben Gertzfield's ID3.py). In trying to organize the MP3 server andall that sort of nonsense I'm thinking of maybe finishing this up ;).

So far it just uses ID3.py to get info, but I plan on adding a few moredetails (bitrate, time, filesize) to what ID3 gives and then pipe it toMySQL. Nothing fancy or difficult, just need to find time to getpython-mysql installed and write the damn thing. This is what I did wayback in the day.

import glob, getopt, string, re, sys
from ID3 import
#get volume name/starting point from args else currentdir need os, file

# this needs to walk tree/files instead.  fix.
for file in glob.glob('
/*.[M,m][P,p]3'):    
    id3info = ID3(file)

    print id3info

Yes, glob is ugly. Deal with it.