Re: [Tracker] Storing Metadata with files



Philip Van Hoof <spam-+mS4aLmNmLKG5XvV6lv2jw public gmane org> writes:
On Mon, 2010-05-17 at 15:19 -0400, Nikolaus Rath wrote:
Philip Van Hoof <spam-+mS4aLmNmLKG5XvV6lv2jw-XMD5yJDbdMReXY1tMh2IBg public gmane org> writes:
On Mon, 2010-05-17 at 13:26 -0400, Nikolaus Rath wrote:
Hello,

Is it possible to have tracker automatically read additional metadata
from a second file? For example, if tracker indexes testfile.odt, I want
it to automatically read metadata about testfile.odt from
testfile.odt.xml (or some other suitable format).

The format for this is called XMP. You can store a so-called sidekick
XMP file next to the file. Tracker will pick those up when done
correctly.

Ah, that sounds fantastic! I like that approach much better. I guess
that creating XMP fill will also be even easier than polling tracker
until it has indexed a new file and then inserting the metadata into
tracker.

Tracker uses inotify, not polling, to know about file updates.

Yes, but I have to poll tracker to know when it has added the file to
its databases.


Best,

   -Nikolaus

-- 
 ÂTime flies like an arrow, fruit flies like a Banana.Â

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C



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