Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37603695
en ru br
ALT Linux repos
S:0.9.7-alt1
5.0: 0.6.15-alt1
4.1: 0.6.15-alt1
4.0: 0.6.12-alt1
3.0: 0.6.6-alt1

Group :: Sound
RPM: eyeD3

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: eyeD3-long-tyer.patch
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:
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin