Hi,

Looking at this mail, I found it difficult to understand the problem you
are having. What is it you are trying to do?

What is the type of `metaInfoResolver` and where are you trying to read
the data from, in other words is it a file that you have opened, or is it
a file you have recorded using one of the qt multimedia kit APIs?

If this is a specific piece of your code it would probably be helpful to
see some of the surrounding code and the declaration of the different
variables (especially metaInfoResolver).

The more information you give, the easier it is for people to help you,
and the more likely are people to reply with answers.

Cheers,
Jonas Rabbe
Software Engineer // Qt Multimedia / Brisbane / Australia





On 12/04/11 13:50, "ext chenlang" <[email protected]> wrote:

>
>    ubuntu 10.04
>    Qt-4.7.0
>    qt-mobility-1.1
> 
>    QVariant title = metaInfoResolver->metaData(QtMultimediaKit::Title);
>    QVariant artist =
>metaInfoResolver->metaData(QtMultimediaKit::AlbumArtist);
>    QVariant genre = metaInfoResolver->metaData(QtMultimediaKit::Genre);
>    QVariant albumTitle = metaInfoResolver->metaData
>(QtMultimediaKit::AlbumTitle);
>    QVariant duration = metaInfoResolver->metaData
>(QtMultimediaKit::Duration);//debug:duration invalid
>
>QtMultimediaKit::Title,QtMultimediaKit::AlbumArtist,QtMultimediaKit::Genre
>can work, but QtMultimediaKit::Duration can't work!
>
>_______________________________________________
>Qt-mobility-feedback mailing list
>[email protected]
>http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback

_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback

Reply via email to