[Digikam-devel] [digikam] [Bug 332665] digiKam should use Baloo for KDE 4.13
me at vhanda.in
Thu Jul 10 13:13:43 BST 2014
--- Comment #19 from Vishesh Handa <me at vhanda.in> ---
Sorry about the delay. I finally looked at the code.
With Baloo, we have tried to keep Baloo just as a file indexer for searching.
Everything else which Nepomuk used to do have either been thrown away or put in
other places. In the case of tags, ratings and comments, they are stored in the
So, if you guys want, you can skip depending on Baloo completely. Lets talk
about the code -
dknepomukwrap.cpp - This can be converted into reading and writing the extended
dknepomukquery.cpp - This is something you can use Baloo for if you want. Or
you can scan the files yourself. If you want to use Baloo, I can help with the
query. Baloo would just be giving you a list of files which have the xattrs
dknepomukwatcher.cpp - Baloo can inform you when a file changes. Or you can use
KDirWatch and listen for changes yourself. It's up to you.
On a separate note, one of the things I hated about Nepomuk was the need for
these "synchornization agents" to be always running. We had those in PIM and in
digikam. Perhaps, now would be a good time to revise that? I'm not aware of the
digikam code base, but it might be simpler to just read and write tags from the
file system directly.
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel