Re: [Tracker] Metadata search Tracker Gnome



Hi Martyn
Thanks for showing me the Terminal command to use. Lovely out-put exactly as expected. johnb johnb-desktop:~$ /usr/lib/tracker/tracker-extract -f /home/johnb/Desktop/qpw.jpg
Initializing tracker-extract...
Initializing Storage...
Mount monitors set up for to watch for added, removed and pre-unmounts...
Found 'Data' mounted on path '/media/Data'
Adding mount point with UUID:'D2086AFE086AE149', removable: no, optical: no
Setting process priority
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-msoffice.so' with:
  Specific match for mime:'application/msword'
  Specific match for mime:'application/vnd.ms-powerpoint'
  Specific match for mime:'application/vnd.ms-excel'
  Generic  match for mime:'application/vnd.ms-*'
Specific match for mime:'application/vnd.openxmlformats-officedocument.presentationml.presentation' Specific match for mime:'application/vnd.openxmlformats-officedocument.presentationml.slideshow' Specific match for mime:'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' Specific match for mime:'application/vnd.openxmlformats-officedocument.wordprocessingml.document' Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-abw.so' with:
  Specific match for mime:'application/x-abiword'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-mp3.so' with:
  Specific match for mime:'audio/mpeg'
  Specific match for mime:'audio/x-mp3'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-text.so' with:
  Generic  match for mime:'text/*'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-flac.so' with:
  Specific match for mime:'audio/x-flac'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-html.so' with:
  Specific match for mime:'text/html'
  Specific match for mime:'application/xhtml+xml'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-xmp.so' with:
  Specific match for mime:'application/rdf+xml'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-ps.so' with:
  Specific match for mime:'application/x-gzpostscript'
  Specific match for mime:'application/postscript'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-png.so' with:
  Specific match for mime:'image/png'
  Specific match for mime:'sketch/png'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-gstreamer.so' with:
  Generic  match for mime:'audio/*'
  Generic  match for mime:'video/*'
  Generic  match for mime:'image/*'
  Specific match for mime:'video/3gpp'
  Specific match for mime:'video/mp4'
  Specific match for mime:'video/x-ms-asf'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-pdf.so' with:
  Specific match for mime:'application/pdf'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-vorbis.so' with:
  Specific match for mime:'audio/x-vorbis+ogg'
  Specific match for mime:'application/ogg'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-jpeg.so' with:
  Specific match for mime:'image/jpeg'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-playlist.so' with:
  Specific match for mime:'audio/x-mpegurl'
  Specific match for mime:'audio/mpegurl'
  Specific match for mime:'audio/x-scpls'
  Specific match for mime:'audio/x-pn-realaudio'
  Specific match for mime:'application/ram'
  Specific match for mime:'application/vnd.ms-wpl'
  Specific match for mime:'application/smil'
  Specific match for mime:'audio/x-ms-asx'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-tiff.so' with:
  Specific match for mime:'image/tiff'
Adding extractor:'/usr/lib/tracker-0.8/extract-modules/libextract-oasis.so' with:
  Generic  match for mime:'application/vnd.oasis.opendocument.*'
<--- [1] tracker_extract_get_metadata_by_cmdline(uri:'file:///home/johnb/Desktop/qpw.jpg', mime:(null)) ---- [1] Guessing mime type as 'image/jpeg' for uri:'file:///home/johnb/Desktop/qpw.jpg' ---- [1] Extracting with module:'/usr/lib/tracker-0.8/extract-modules/libextract-jpeg.so'
---- [1]   Found 22 metadata items
---- [1] INSERT {
<urn:contact:John%20Bestevaar> a nco:Contact ;
     nco:fullname "John Bestevaar" .
}
INSERT {
<urn:contact:John%20Bestevaar> a nco:Contact ;
     nco:fullname "John Bestevaar" .
}

---- [1]  a nfo:Image ;
     a nmm:Photo ;
     nfo:width 4608 ;
     nfo:height 3072 ;
     nmm:camera "NIKON CORPORATION NIKON D3100" ;
     nfo:orientation nfo:orientation-top ;
     nie:copyright "All rights reserved John Bestevaar" ;
     nmm:whiteBalance nmm:white-balance-auto ;
     nmm:fnumber 5.2999999999999998 ;
     nmm:flash nmm:flash-off ;
     nmm:focalLength 45 ;
     nco:contributor <urn:contact:John%20Bestevaar> ;
     nmm:exposureTime 0.016666666666666666 ;
     nmm:isoSpeed 400 ;
     nie:contentCreated "2011-02-14T12:12:34+0000" ;
     nmm:meteringMode nmm:metering-mode-pattern ;
     nco:creator <urn:contact:John%20Bestevaar> ;
     mlo:location [ a mlo:GeoPoint ;
     mlo:address "North Tamborine" ;
     mlo:city "Beaudesert" ;
     mlo:country "Australia"] .

---> [1] Success, no error given
johnb johnb-desktop:~$

On 26/09/11 17:48, Martyn Russell wrote:
On 24/09/11 02:52, John Bestevaar wrote:
Hi Adrian
Aaah......Thanks for the enlightenment. Stopped barking now. :-!
But..... still left with my Tracker Gui not finding my Image(qpw.jpg)
when i put my XMP metadata text(Beaudesert)to search for in the search box.
Where could i look for a way to fix this? :-P

Can you use the tracker-extract command on the file and let us know what it comes back with here?

Should be:

  /usr/lib/tracker/tracker-extract -f /path/to/my/qpw.jpg




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]