Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Unable to obtain cover art from QMediaPlayer metaData



  • Hi all,

    I'm currently creating a Qt5.6 music application focused on cover art in the media library. With availableMetaData() I'm able to obtain meta data such as AlbumTitle, title, album-artist, etc. However, cover art is not included in the list that is returned by the function. After reading the docs regarding QMediaMetaData, it seems that cover art should be included in the list returned by availableMetaData(). Is this not the case?

    Thanks,
    Mandeep


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    This will likely be platform dependent. Some plugins might not have access (yet) to all the metadata.



  • Thanks, this makes sense. I'm currently running a Debian derivative. If I wanted to investigate further, do you know where I could start my search?


  • Lifetime Qt Champion

    Since your running on Linux, you can take a look at the gstreamer plugin



  • Thanks for the replies SGaist. For the time being I'm using a third party library to obtain the meta data that I need.


Log in to reply