Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-38565

Can’t get MetaData of URL Media using QMediaPlayer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.2.1
    • Multimedia
    • None
    • Windows using MinGW

    Description

      Hi,
      So my problem is that I can’t get the MetaData of an MP3 file when opening a file online using Player->setMedia(QUrl(url)) I can get the metadata without problems if I load a local file, but it does not work with URLs (I use QUrl::fromLocalFile to load local files).

      The QMediaPlayer is connected to a metaDataAvailableChanged(bool) slot. I tried uploading an MP3 to my own FTP server and chmod it to 777 (In case it was a problem related to access and permissions) but couldn’t get the MetaData. I can play the media without problems, but I can’t get the Title, Duration,etc… So is this a bug or am I missing a step to do when loading from URLs?

      I am using the official build of Qt 5.2.1 and not a build of mine.

      Best,
      MJaoune

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ylopes Yoann Lopes
            mjaoune Mahmoud Jaoune
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes