Audio metadata cannot read coverArtUrlSmall & coverArtUrlLarge



  • Hi folks,

    I'm using auido in qml, and trying to get the cover art. Now, I'm getting all I want from id3tags, except cover art. We have two properties; coverArtUrlSmall and coverArtUrlLarge. Although I am sure that my mp3 have cover art, both properties are 'undefined'. How can I get the cover art from mp3 files?

    MediaPlayer {
    id: playMusic
    source: "trial.mp3"
    }
    MouseArea {
    id: playArea
    anchors.fill: parent
    onPressed: {
    playMusic.play();
    console.log(playerArea.objToString(playMusic.metaData.coverArtUrlSmall)); // it writes 'undefined'
    console.log(playerArea.objToString(playMusic.metaData.coverArtUrlLarge)); // it writes 'undefined'
    }
    }

    Thanks & Regards,

    Aykut


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.