Re: [Tracker] Using tracker extractors from other applications
- From: Martyn Russell <martyn lanedo com>
- To: Nikolaus Rath <Nikolaus rath org>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] Using tracker extractors from other applications
- Date: Fri, 19 Nov 2010 01:24:06 +0000
On 18/11/10 22:18, Nikolaus Rath wrote:
On 11/18/2010 03:41 PM, Ivan Frade wrote:
Hi,
So what are you passing as `mime` in get_metadata? `None`, an empty string?
You can pass that yes, it means we need to stat() the file for you and
we try to avoid that usually since it is already done in miner-fs.
Also, with a plain text document
tracker.GetMetadata('file:///home/nikratio/misc/Victoria.tex',
'text/plain')
I do not get any contents:
(dbus.String(u''), dbus.String(u' a nfo:PlainTextDocument .\n'))
Am I doing something wrong?
Do you by any chance also have an idea of why this isn't working?
Are you sure the file is a plain/text mime type? What is the output of
/usr/local/lib/tracker-extract -v 3 -f /home/nikratio/misc/Victoria.tex
?
--
Regards,
Martyn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]