Using the tracker db in C++
Hi
I'm working on a program for the coding competition. This should read the tracker db so that the user can easily select one track instead of manual typing the track name and artist name. How can I read the tracker db in C++ w/ Qt? I was looking at openmediaplayer's code, but wasn't able to figure out anything of this. thanks in advance |
Re: Using the tracker db in C++
Look into qt mobility's multimedia module
http://doc.qt.nokia.com/qtmobility/multimedia.html http://doc.qt.nokia.com/qtmobility/qtmultimediakit.html |
Re: Using the tracker db in C++
Quote:
These module may be useful when it comes to playing audio or accessing the files at all. Everything that has to be done is: 1. Show the db to the user // it's where I have the problem. I want to show the user all the tracks he has indexed. 2. The user selects the track (or tracks). Only track name and album artist (maybe track artist if album artist isn't presetn) are saved to a variable. (returned by the function) 3. After reading the base data, nothing more is done with the db / files. So the problem is: how do programs like openmediaplayer look up the trackerdb and show it to the user? |
Re: Using the tracker db in C++
Quote:
are using the multimedia framework MAFW. http://maemo.org/api_refs/5.0/5.0-final/mafw-shared/ |
Re: Using the tracker db in C++
libqttracker? You can try this for an example:
http://gitorious.org/iviapps/ivimusic |
Re: Using the tracker db in C++
marmistrz, are you trying to reinvent MussOrgsky and combine it with arename and dr14tmeter? :D maybe it would be faster to just pick up MussOrgsky development and add new functions to it?;) (renaming of files - functionality of arename, that is what is really missing:( ) or am I completely wrong and you want to code something different?;) anyway, you may see how MussOrgsky reads the data;)
|
Re: Using the tracker db in C++
Quote:
@misiak: no, I'll be doing something different. |
Re: Using the tracker db in C++
I think you'd want to compile it yourself. You might be able to find it in fremantle as a part of QtMobility, or the aforementioned MAFW. It looks like it was replaced in favor of libqtsparql in harmattan:
http://harmattan-dev.nokia.com/unsta...k_sources.html |
Re: Using the tracker db in C++
Quote:
Is there some library that is used in both Harmattan and Fremantle (so that the app would be suitable for apps.formeego or ovi beside extras-*)? As mafw has been removed in harmattan iirc |
Re: Using the tracker db in C++
Did you try qdocumentgallery. Another option
would be, the tracker dbus api, but it heavily changed from fremantle to harmattan. |
All times are GMT. The time now is 04:15. |
vBulletin® Version 3.8.8