Hi Debajyoti,
D Bera wrote:
> Good catch. This will happen for oversized non-tar archives. I will
> fix it early next week. If you want to try the fix on your local
> system, in Filters/FilterArchive.cs:GetNextEntrySingle(),
> change
> entry.MimeType = XdgMime.GetMimeType (entry.TempFile);
>
> if (entry.TempFile != null)
> entry.Size = new FileInfo (entry.TempFile).Length;
> to
> if (entry.TempFile != null) {
> entry.Size = new FileInfo (entry.TempFile).Length;
> entry.MimeType = XdgMime.GetMimeType (entry.TempFile);
> }
I've fixed my local system for testing, the output is attached below.
Hope it's what you want, especially the "Content:" 'cause the archive
file is not really skipped ...
Kind regards,
Stephan.
beagle is rev3527 + the fix from above:
beagle-extract-content
/home/steve/www/Graphics/Blender/Blender3d_SIGGRAPH2005_DVDRip.avi.bz2
Filename:
file:///home/steve/www/Graphics/Blender/Blender3d_SIGGRAPH2005_DVDRip.avi.bz2
Debug: Loaded 55 filters from /usr/local/lib/beagle/Filters/Filters.dll
Debug: 10 meg threshold hit, skipping over
/home/steve/www/Graphics/Blender/Blender3d_SIGGRAPH2005_DVDRip.avi.bz2
Filter: Beagle.Filters.FilterArchive (determined in 11.05s)
MimeType: application/x-bzip
Properties:
Timestamp = 2005-08-06 04:29:54 (Utc)
beagle:FileType = archive
Content:
Blender3d_SIGGRAPH2005_DVDRip.avi
HotContent:
(no hot content)
Text extracted in .02s
_______________________________________________
Dashboard-hackers mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dashboard-hackers