Re: [Tracker] Mp3 Albumart extraction, Thumnails using MetaTracker 0.9.18



Hi,

 Jens is completely right. Tracker will try to get the album art from the file, store it following the MediaArtStorageSpec and request the thumbnail.

The path of the album art or its thumbnail is calculated using the spec and it is not store in the ontology. That path calculation can be tricky to implement, so you probably want to reuse the code from any of these libraries:

libthumbnailer in C++: http://maemo.gitorious.org/maemo-af/libthumbnailer
hildon-thumbnailer in C: http://maemo.gitorious.org/maemo-af/hildon-thumbnail

 Maybe we should complete this wiki page with the album-art information:
http://live.gnome.org/Tracker/Documentation/ThumbnailsHandling

Regards,

Ivan


On Tue, Sep 7, 2010 at 11:48 AM, Jens Georg <jensg openismus com> wrote:
On Tue, 2010-09-07 at 16:02 +0800, Vijay Chavan (RBEI/ECV3) wrote:
> I am using Tracker ver 0.9.18 with Ubuntu 10.04.
> I am interested to use Tracker as a backend for media metadata indexing and search with my MediaPlayer UI.
> 1) I need the support for ID3 albumart exctraction from mp3 files.
>    I studied the ontologies at
>        tracker-0.9.18/data/ontologies/37-nid3.ontology
>        tracker-0.9.18/data/ontologies/38-nmm.ontology
>    But could not find class/property which gives id3 albumart thumbnail information.
>    Is there any way that I can get id3 albumart using Tracker from mp3 file.

The file-system miner extracts the album art and puts it into
$HOME/.cache/media-art; it is (afair) not available through tracker but
via the MediaArt Spec described here:

http://live.gnome.org/MediaArtStorageSpec

>
> 2) Also can Tracker create Picture or Video filesThumbanails when the thumbnails for media are not present initially in /.thumbnails directory. (e.g. If the media directory is never browsed with "Nautilus" or other file browser)

As far as I know not, but there is a service called Tumbler which offers
a DBus interface for requesting thumbnails.


_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list



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