kurt-culley / ScrapeTrainV2

New and improved TrakTrain beat downloader.
7 stars 1 forks source link

id3v2 tag not fully parsed #4

Open itneveroccurred opened 5 years ago

itneveroccurred commented 5 years ago

Here's the full log, it got to track 18 before saying this. And here's the artist that I was trying to scrape.

kurt-culley commented 5 years ago

Hey, I've had a quick look and it seems that track 18 is an invalid MP3, so I believe it is falling over when trying to parse the id3v2 headers. Hexdump shows there's at least a partial id3v2 header, but nothing past it (around 256 bytes in), so at the moment I'm thinking I'll do some kind of quick and dirty file length check, unless the mp3info library has something will allow me to check validity of headers. I'll try and push something to work around it tonight.

itneveroccurred commented 5 years ago

thx man really appreciate it