Comment 0 for bug 1390616

Revision history for this message
HAFIANE Mohamed (thakir-dz) wrote : Can't play file dowloaded MediaPlayer

Hi, in my app for ubuntu touch I need to download *.mp3 file.
I have used "Ubuntu.DownloadManager 0.1"
the file is downloaded normaly (is put in ;
/home/phablet/.local/share/ubuntu-download-manager/com.ubuntu.developer.myapp/Downloads/*.mp3)
put I can't play it with MediaPlayer.

MediaPlayer {
id: player
source: "/home/phablet/.local/share/ubuntu-download-manager/com.ubuntu.developer.myapp/Downloads/*.mp3"
}

Button{
text:"Play"
onClicked: player.play()
}

in Media-hub log this is the error:
Client denied access to open_uri()

I use image #6 (ubuntu-rtm/14.09)
and my application is confined.