Mime type detection in beagle [Was: IndexHelper eating cpu]
- From: Stephan Hegel <stephan hegel gmx de>
- To: dashboard-hackers gnome org
- Subject: Mime type detection in beagle [Was: IndexHelper eating cpu]
- Date: Sat, 10 Feb 2007 07:50:49 +0100
Hi all,
Debajyoti Bera wrote:
For update, the file above turned out to be a jpeg file which was causing a
loop in the jpeg handling routine.
I've got the impression that the mime type detection with xgdmime depends
too much on the file extensions instead of the files' contents. A plain "file"
command or for images the "identify" utility from the ImageMagick package
deliver by far more accurate results.
Would it be easily possible to use these external commands for mime type
detection in beagle ? Lets say, like an external pre-filter before applying
the real filter ?
A bit funny: due to the current mime type detection I could identify quite a
lot of wrongly named images and files in my $HOME and a large static index
kind of "10 years Linux Magazine ..." as they caused an exception in beagled
when they were run through the wrong filter ;).
Kind regards,
Stephan,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]