ID3 Tags Qt
-
I am working on a player for mobile phones running Symbian s60v5 adn s^3 devices.
I am using a database for storing infos about the songs and then retrieve them by request. However I need a solution to parse my id3v2 tags. FOr id3v1 there is no problem since it is a simple format. However how about v2? I thounght about id3lib but it seems it is not available for Symbian.
Any Suggestions? Can I find a lib written for Qt to parse id3?
-
I can have a try on compile it for Symbian yep. But I am not an expert of Symbian build systems
-
Have you tried using taglib on Symbian? I don't know if it depends on kdelibs but I think its worth trying "http://developer.kde.org/~wheeler/taglib.html":http://developer.kde.org/~wheeler/taglib.html
-
I had a look to taglib and I have tested building it with the .pro. It can be opened by Qt Creator too (obviously) and i was able to compile all the .o files. However I didn't get any lib.
-
-
I've used taglib before and as far as I know there are some little issues on Symbian, but on Desktop and Maemo it's working, so you should check some stuff as Volker suggested in order to get it working.
-
I am going to try to compile from the command line when I get my project from the other PC and maybe I start to develop for Symbian using Linux.
Thank you so much guys. Now I can continue developing my MP3 player. It was almost impossible to cotinue without a Media Library (that's why I needed Taglib)
-
[quote author="Mattias Cibien" date="1293557242"]I am going to try to compile from the command line when I get my project from the other PC and maybe I start to develop for Symbian using Linux.
Thank you so much guys. Now I can continue developing my MP3 player. It was almost impossible to cotinue without a Media Library (that's why I needed Taglib)[/quote]
Good luck! And let us know if we could help anything :)
-
I found out that QtMobility has the possibility of looking into some tags of a file. Check out QtMultimediaKit
-
I tried also. I have tested on both command line and Qt Creator. It has some problems with dllimport.
-
[quote author="Mattias Cibien" date="1294227779"]I tried also. I have tested on both command line and Qt Creator. It has some problems with dllimport.[/quote]
Mattias: you posted that Qt Mobility can do some of the parsing. What are the constraints or reasons not to use it?
-
[quote author="fcrochik" date="1294236648"]
[quote author="Mattias Cibien" date="1294227779"]I tried also. I have tested on both command line and Qt Creator. It has some problems with dllimport.[/quote]Mattias: you posted that Qt Mobility can do some of the parsing. What are the constraints or reasons not to use it?[/quote]
Since for enabling a sort of Media Libray function is almost a waste of memory to load on a temporary QMediaPlayer every mp3 in a folder to parse it's data.
-
Mattias: it may be worth a suggestion on JIRA or even a quick inspection of the source code for QMediaPlayer to figure out if there isn't a easy way to isolate this functionality.
It seems like a very basic need for anybody dealing with "music" files and should be "standard".
-
[quote author="Mattias Cibien" date="1294227779"]I tried also. I have tested on both command line and Qt Creator. It has some problems with dllimport.[/quote]
dllimport should only be an issue with windows builds, according to taglib/taglib_export.h, I'm not sure what's going on there. Neither _WIN32 nor _WIN64 should be defined.
-
I have a look in .pro of taglib since in the .pro file there are some variables I cannot figure out. I am going to have a look when I get some spare time for developing