Re: [slim] help with script to scrape album year data

2007-10-29 Thread Benway
CPAN has lots of modules for querying FreeDB. The problem you'll find is that they tend to need the DiscID or the cdrom available as /dev/cdrom etc... Searching through CPAN modules with freedb id3 finds WebService::FreeDB which looks like it will do the trick. However accuracy may be a

Re: [slim] help with script to scrape album year data

2007-10-29 Thread snarlydwarf
Musicbrainz often has that information, the catch is you may not agreee with their definition of release date. (ie, re-issues and remasters are supposed to get a new release date...) Allmusic.com may also have it, but they want a license signed before using their data. -- snarlydwarf

[slim] help with script to scrape album year data

2007-10-29 Thread bklaas
Over the weekend I spent a little time trying to figure out a way to populate the year field in ID3 tags where it's missing. I wrote a Perl script (on Linux, but I think it's portable to other OS's) to zip through my collection, find files with missing year tags, and output the results

Re: [slim] help with script to scrape album year data

2007-10-29 Thread bklaas
fantastico, radish! That looks like it might just work. cheers, #!/ben -- bklaas the Nokia770 skin guy http://www.last.fm/user/bklaas/ bklaas's Profile: http://forums.slimdevices.com/member.php?userid=58 View this

Re: [slim] help with script to scrape album year data

2007-10-29 Thread radish
Discogs.com? They have a fairly google like search engine and the DB is pretty damn extensive. In fact, the biggest problem you're likely to run into is narrowing results down - even a pretty specific query like this:

Re: [slim] help with script to scrape album year data

2007-10-29 Thread bklaas
Discogs has an API. Doesn't look too bad. http://www.discogs.com/help/api -- bklaas the Nokia770 skin guy http://www.last.fm/user/bklaas/ bklaas's Profile: http://forums.slimdevices.com/member.php?userid=58 View this

Re: [slim] help with script to scrape album year data

2007-10-29 Thread vrobin
bklaas;238755 Wrote: Digging my old CDs out for this would take WAY more time then just manually searching google for album release year. CDDB is not a good solution here, esp. because I don't have DiscIDs saved into the tags either. I started ripping music well before I understood why

Re: [slim] help with script to scrape album year data

2007-10-29 Thread bklaas
Benway;238717 Wrote: CPAN has lots of modules for querying FreeDB. The problem you'll find is that they tend to need the DiscID or the cdrom available as /dev/cdrom etc... Searching through CPAN modules with freedb id3 finds WebService::FreeDB which looks like it will do the trick.

Re: [slim] help with script to scrape album year data

2007-10-29 Thread radish
Thinking about it, Amazon Web Services might work well too - I know a lot of apps use it for getting cover art, you can give it some pretty vague queries and it will do it's best to match. The advantage that would have would be that parsing neat XML is typically easier than scraping HTML, in my