Bugs item #1568261, was opened at 2006-09-30 12:24
Message generated for change (Comment added) made by duncanwebb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1568261&group_id=46652

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: music
Group: None
>Status: Pending
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Pierre Ossman (dr7eus)
Assigned to: Nobody/Anonymous (nobody)
Summary: MP3 header search slow as hell

Initial Comment:
Searching for MP3 header is slow as hell in mmpython.
Normally this isn't a problem as the header is right at
the start of the file. But if you have a file that's
incorrectly named .mp3, it takes forever to scan that file.

Included patch causes a speed-up of a factor of several
thousand (sub-second scanning instead of minutes).

----------------------------------------------------------------------

>Comment By: Duncan Webb (duncanwebb)
Date: 2006-10-24 18:18

Message:
Logged In: YES 
user_id=104395

Sorry Pierre, I don't know why I missed you attachment.

The patch has been applied to mmpyton at r1925.

----------------------------------------------------------------------

Comment By: Duncan Webb (duncanwebb)
Date: 2006-10-24 18:07

Message:
Logged In: YES 
user_id=104395

Looked for an equivalent to the file command in python, but
can't find one.

spawning file and parsing the result may be the next best
solution.

Here's an example:
file --brief /freevo/music/01.mp3 /freevo/music/02.wav
MP3 file with ID3 version 2.3.0 tag
MP3 file with ID3 version 2.3.0 tag

----------------------------------------------------------------------

Comment By: Pierre Ossman (dr7eus)
Date: 2006-09-30 12:56

Message:
Logged In: YES 
user_id=687084

Ignore the first patch, it was a bit broken.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1568261&group_id=46652

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to