Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. ID3 Tags Qt
Qt 6.11 is out! See what's new in the release blog

ID3 Tags Qt

Scheduled Pinned Locked Moved Mobile and Embedded
23 Posts 7 Posters 20.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jdbastardy
    wrote on last edited by
    #1

    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?

    http://mattias-cibien.co.cc

    • Prepare for Qt consequences.
    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      No way to compile id3lib yourself for Symbian? It seems to be a C++ lib, so it should not be too hard.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fcrochik
        wrote on last edited by
        #3

        In the past I wrote a java parser for id3v2... can't seem to find the code but don't remember being too difficult of a task. Maybe you can create one for the community :)

        Certified Specialist & Qt Ambassador <a href="http://www.crochik.com">Maemo, Meego, Symbian, Playbook, RaspberryPi, Desktop... Qt everywhere!</a>

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jdbastardy
          wrote on last edited by
          #4

          I can have a try on compile it for Symbian yep. But I am not an expert of Symbian build systems

          http://mattias-cibien.co.cc

          • Prepare for Qt consequences.
          1 Reply Last reply
          0
          • M Offline
            M Offline
            milot.shala
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • G Offline
              G Offline
              goetz
              wrote on last edited by
              #6

              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 :-)

              http://www.catb.org/~esr/faqs/smart-questions.html

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jdbastardy
                wrote on last edited by
                #7

                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.

                http://mattias-cibien.co.cc

                • Prepare for Qt consequences.
                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  goetz
                  wrote on last edited by
                  #8

                  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!

                  http://www.catb.org/~esr/faqs/smart-questions.html

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    milot.shala
                    wrote on last edited by
                    #9

                    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.

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      jdbastardy
                      wrote on last edited by
                      #10

                      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)

                      http://mattias-cibien.co.cc

                      • Prepare for Qt consequences.
                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        milot.shala
                        wrote on last edited by
                        #11

                        [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 :)

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          jdbastardy
                          wrote on last edited by
                          #12

                          I found out that QtMobility has the possibility of looking into some tags of a file. Check out QtMultimediaKit

                          http://mattias-cibien.co.cc

                          • Prepare for Qt consequences.
                          1 Reply Last reply
                          0
                          • S Offline
                            S Offline
                            silvansky
                            wrote on last edited by
                            #13

                            so, anybody have successfully build of taglib for symbian? i tried to do it myself, but failed =(

                            1 Reply Last reply
                            0
                            • J Offline
                              J Offline
                              jdbastardy
                              wrote on last edited by
                              #14

                              I tried also. I have tested on both command line and Qt Creator. It has some problems with dllimport.

                              http://mattias-cibien.co.cc

                              • Prepare for Qt consequences.
                              1 Reply Last reply
                              0
                              • F Offline
                                F Offline
                                fcrochik
                                wrote on last edited by
                                #15

                                [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?

                                Certified Specialist & Qt Ambassador <a href="http://www.crochik.com">Maemo, Meego, Symbian, Playbook, RaspberryPi, Desktop... Qt everywhere!</a>

                                1 Reply Last reply
                                0
                                • J Offline
                                  J Offline
                                  jdbastardy
                                  wrote on last edited by
                                  #16

                                  [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.

                                  http://mattias-cibien.co.cc

                                  • Prepare for Qt consequences.
                                  1 Reply Last reply
                                  0
                                  • F Offline
                                    F Offline
                                    fcrochik
                                    wrote on last edited by
                                    #17

                                    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".

                                    Certified Specialist & Qt Ambassador <a href="http://www.crochik.com">Maemo, Meego, Symbian, Playbook, RaspberryPi, Desktop... Qt everywhere!</a>

                                    1 Reply Last reply
                                    0
                                    • G Offline
                                      G Offline
                                      goetz
                                      wrote on last edited by
                                      #18

                                      [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.

                                      http://www.catb.org/~esr/faqs/smart-questions.html

                                      1 Reply Last reply
                                      0
                                      • J Offline
                                        J Offline
                                        jdbastardy
                                        wrote on last edited by
                                        #19

                                        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

                                        http://mattias-cibien.co.cc

                                        • Prepare for Qt consequences.
                                        1 Reply Last reply
                                        0
                                        • G Offline
                                          G Offline
                                          goetz
                                          wrote on last edited by
                                          #20

                                          You can safely ignore the FRAMEWORK variables, they are only used for building frameworks on the Mac and ignored on other platforms.

                                          http://www.catb.org/~esr/faqs/smart-questions.html

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved