ID3 Tags Qt
-
Taglib looks quite promising. It has as .pro file for the Mac that could be adapted for Symbian, I think. I'm sure some guys here will help you with that. Maybe you'll have to wait a couple of days - many of them are on holidays at the moment :-)
-
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.
-
Did you try to compile it on the command line?
@
cd taglib
qmake -spec spec-for-symbian
make
@This should create a libTagLib.a in the directory taglib.
In Qt Creator, did you disable shadow builds? If not, it could be that the lib is in another directory!
-
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
-
so, anybody have successfully build of taglib for symbian? i tried to do it myself, but failed =(
-
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
-
You can safely ignore the FRAMEWORK variables, they are only used for building frameworks on the Mac and ignored on other platforms.
-
That's perfect. I remember that I found some strange vars under TARGET. However I cannot access the source code right now
-
Fetching metadata via phonon or multimediakit on mp3 files works great on linux. Don't bother using either of them on Windows with MP3 files though :-(
Fetching id3 tags using multimediakit on symbian with mp3 files is problematic because it is unclear how long one must wait for all of the extra tags to arrive, or how many there will be.
I just tried using command line qmake to build taglib for the N8.
taglib>qmake
Warning: No HW compilers detected. Please install either GCCE or RVCT compiler to enable release builds.
Warning: No valid release platforms in SYMBIAN_PLATFORMS (WINSCW GCCE ARMV5 ARMV6)
Most likely required compiler(s) are not properly installed.I guess I still need to do some tweaking of my environment before this build will work...
Curious to know when/if someone else gets it working though.
-
One suggestion:
call qmake -project
go to QtCreator, select the environment and build from there
it does the tweaking for you :-)