ID3 Parsing error (simple Patch attached)
Most of my MP3's were not getting their ID3v2 info imported into the Neuros (they work in
Windows NSM and every place else). This is true in 1.0 and CVS HEAD. The error was caused
by a long copyright field in the tag, which triggered a bug in the id3 parser. It was taking a byte to
be 7 bits instead of 8 for some reason. Perhaps you should use the latest version of MP3Info.py
(http://www.omniscia.org/~vivake/python/MP3Info.py), I'm not sure what other differences exist,
but it certainly didn't have this bug. Patch follows:
--- positron/MP3Info.py Thu Jun 19 12:08:44 2003
+++ MP3Info.py Sat Jun 21 16:51:34 2003
@@ -39,8 +39,7 @@
while len(synchsafe) < 4:
synchsafe = (0,) + synchsafe
(b3, b2, b1, b0) = synchsafe
-
- x = 128
+ x = 256
return (((b3 * x + b2) * x + b1) * x + b0)
def _strip_zero(s):