Author: dmeyer
Date: Tue Mar 20 16:52:01 2007
New Revision: 2577

Modified:
   trunk/metadata/src/audio/mp3.py

Log:
read used vbr and not cbr from header

Modified: trunk/metadata/src/audio/mp3.py
==============================================================================
--- trunk/metadata/src/audio/mp3.py     (original)
+++ trunk/metadata/src/audio/mp3.py     Tue Mar 20 16:52:01 2007
@@ -221,6 +221,10 @@
 
       self._parse_header(header)
 
+      if id3:
+         # Note: information about variable bitrate or not should
+         # be handled somehow.
+         (vbr, self.bitrate) = id3.getBitRate()
 
    def _find_header(self, file):
       file.seek(0, 0)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to