Author: dmeyer
Date: Fri Mar 16 15:13:54 2007
New Revision: 2565
Modified:
trunk/metadata/src/audio/mp3.py
trunk/metadata/src/video/riff.py
Log:
change wave and mp3 mimetype
Modified: trunk/metadata/src/audio/mp3.py
==============================================================================
--- trunk/metadata/src/audio/mp3.py (original)
+++ trunk/metadata/src/audio/mp3.py Fri Mar 16 15:13:54 2007
@@ -100,7 +100,7 @@
core.Music.__init__(self)
self.fileName = file.name;
self.codec = 0x0055 # fourcc code of mp3
- self.mime = 'audio/mp3'
+ self.mime = 'audio/mpeg'
if not eyeD3_tag.isMp3File(file.name):
raise core.ParseError()
@@ -299,4 +299,4 @@
self._set('mode', _modes[mode])
-core.register( 'audio/mp3', ('mp3',), MP3 )
+core.register( 'audio/mpeg', ('mp3',), MP3 )
Modified: trunk/metadata/src/video/riff.py
==============================================================================
--- trunk/metadata/src/video/riff.py (original)
+++ trunk/metadata/src/video/riff.py Fri Mar 16 15:13:54 2007
@@ -86,7 +86,6 @@
if h[:4] != "RIFF" and h[:4] != 'SDSS':
raise core.ParseError()
- self.mime = 'application/x-wave'
self.has_idx = False
self.header = {}
self.junkStart = None
@@ -95,7 +94,7 @@
if self.type == 'AVI ':
self.mime = 'video/avi'
elif self.type == 'WAVE':
- self.mime = 'application/x-wave'
+ self.mime = 'audio/wav'
try:
while self._parseRIFFChunk(file):
pass
-------------------------------------------------------------------------
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