Group :: Sound
RPM: eyeD3
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: eyeD3-long-tyer.patch
Download
Download
diff -Naur eyeD3-0.6.8.orig/src/eyeD3/frames.py eyeD3-0.6.8/src/eyeD3/frames.py
--- eyeD3-0.6.8.orig/src/eyeD3/frames.py 2005-08-30 07:16:58 +0600
+++ eyeD3-0.6.8/src/eyeD3/frames.py 2005-08-30 12:45:20 +0600
@@ -774,6 +774,10 @@
# Witnessed oddball tags with NULL bytes (ozzy.tag from id3lib)
d = d.strip("\x00");
+ # fix incorrect (too long) TYER frames
+ if self.header.id == OBSOLETE_YEAR_FID and len(d) > 4:
+ d = d[:4]
+
try:
self.date = time.strptime(d, fmt);
except TypeError, ex: