Hi
Benjamin,
Unfortunately you are out of luck (or you are lucky if you love
programming the solution, as you will have to do this):
The version of Tracker on the N900 is really old. Many softwares
running on the N900 are not compatible with more recent versions
of Tracker. After the release of the N900 the Tracker team
completely redesigned Tracker. This includes its client API (from
a RDFQ API to a SPARQL based one).
No complete compatibility layer has been written (and the existing
one would need to be completed to make more recent versions of
Tracker run on a N900). The existing one is also no longer being
shipped with Tracker. You need Tracker 0.8's versions to find its
source code.
As many softwares running on the N900's Maemo Diablo are using the
old API, you would need to implement this API using the new
infrastructure (while keeping the ABI and API compatible, which
basically means that you can't change the .h file while
reimplementing the .c file):
https://git.gnome.org/browse/tracker/tree/src/libtracker?h=tracker-0.6
The new infrastructure can do more than the ancient release, so
this isn't impossible. It's also not easy. During the 0.8 releases
attempts where made to provide such a compatibility layer. Back
then this was done for a Nautilus Tags plugin that was using the
old API and could not be replaced/rewritten as new releases of
Tracker happened (the ones which were a complete redesign of
Tracker):
https://git.gnome.org/browse/tracker/tree/src/libtracker-client/tracker.c?h=tracker-0.8#n1500
https://git.gnome.org/browse/tracker/tree/src/libtracker-client/tracker.c?h=tracker-0.8#n1554
https://git.gnome.org/browse/tracker/tree/src/libtracker-client/tracker.c?h=tracker-0.8#n1614
https://git.gnome.org/browse/tracker/tree/src/libtracker-client/tracker.c?h=tracker-0.8#n1684
In theory those implementations should be sufficient to make a new
Tracker work on a N900 Maemo Diablo. But this has never been
tested (the compatibility layer wasn't made for a upgrade of the
N900 Maemo Diablo's Tracker, but for the GNOME desktop and in
particular just for the Nautilus plugin).
Doing all this would, however, be a really, really nice
improvement for the N900's operating system to upgrade its Tracker
to a modern version. Among other things you'll reduce battery
consumption, fix hundreds of bugs and improve CPU and I/O
utilisation. I'm pretty sure that the compatibility layer will
also introduce bugs. So ..
Good luck!
Kind regards,
Philip
Benjamin Oppermann schreef op 6/10/2013 17:01:
Following up:
The current version of Tracker on Maemo 5 is
0.6.95-25maemo1+0m5, dated
2010-05-26
details here: http://maemo.org/packages/view/tracker/
Ben
On Sun, Oct 6, 2013, at 03:33 AM, Benjamin Oppermann wrote:
Hello,
Tracker handles the indexing of media files in Maemo 5 on the
Nokia N900
for use in the media player.
In said media player, a great percentage of my music tracks
are
presented as duplicates, even though the files are present
only once on
the device. In Maemo forums, three ideas are circulating about
how to
handle this:
1) tracker-processes -r
did not solve anything for me as the database was rebuilt with
the same
fault again.
2) touch name-of-duplicate-file
Is no good for me as the problem regards not just one file,
but a couple
hundred or more - not all of them, but too many to do this
manually for
each one.
3) deleting the tracker folder (haven't tried that yet but
looks to me
like it'd amount to the same effect as 1).
Well I just wanted to hear what you guys think about it, maybe
this has
been fixed in newer versions of tracker. Unfortunately I'm
unable right
now to tell which version of Tracker is used in Maemo.
Thanks,
Ben
P.S. Here are the related threads in Maemo forums:
http://talk.maemo.org/showthread.php?p=1377437#post1377437
http://talk.maemo.org/showthread.php?t=76086
--
bennypr0fane myopera com
_______________________________________________
tracker-list mailing list
tracker-list gnome org
https://mail.gnome.org/mailman/listinfo/tracker-list
_______________________________________________
tracker-list mailing list
tracker-list gnome org
https://mail.gnome.org/mailman/listinfo/tracker-list
|