-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
1.2.1
-
None
-
Meego Harmattan 1.2, Nokia N950 with 1.2011.34-2_PR_RM680 version.
When retrieving informations using DocumentGalleryModel, the properties "url" and "filePath" are not correctly shown, resulting in impossibility to play all those songs/media which have accents or any other character. Following there is example code to test the issue:
import QtQuick 1.1 import com.meego 1.0 import QtMobility.gallery 1.1 Page { ListView { id: view anchors.fill: parent clip: true model: DocumentGalleryModel { id: audioModel sortProperties: ["title"] rootType: DocumentGallery.Audio properties: [ "fileName", "url", "artist", "title", "albumTitle", "albumArtist", "duration", "filePath" ] } delegate: Item { width: 480 height: 80 Label { text: filePath } MouseArea { anchors.fill: parent onClicked: { console.debug("Title: " + title) console.debug("Artist: " + artist) console.debug("filePath: " + filePath) console.debug("url: " + url) } } } } }
and the debug output for an audio file having the char 'è' is:
Title: Sans contrefacon
Artist: Mylène Farmer
filePath: /home/user/MyDocs/Music/Myl%C3%A8ne Farmer - Sans contrefacon.mp3
url: file:///home/user/MyDocs/Music/Myl%C3%A8ne%20Farmer%20-%20Sans%20contrefacon.mp3