Can't play dowloaded file with MediaPlayer

Bug #1390616 reported by HAFIANE Mohamed
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubuntu-download-manager
Invalid
Undecided
Manuel de la Peña

Bug Description

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)
but 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.

description: updated
summary: - Can't play file dowloaded MediaPlayer
+ Can't play file after dowloaded with MediaPlayer
Revision history for this message
Manuel de la Peña (mandel) wrote : Re: Can't play file after dowloaded with MediaPlayer

That looks like an issue with the media player rather than the download manager. Can the application access the file? Can you please add the logs in ~/.cache/ubuntu-download-manager/

Changed in ubuntu-download-manager:
status: New → Incomplete
assignee: nobody → Manuel de la Peña (mandel)
Revision history for this message
HAFIANE Mohamed (thakir-ubuntu-dz) wrote :

Hi, This are logs
Thanks

Revision history for this message
HAFIANE Mohamed (thakir-ubuntu-dz) wrote :
summary: - Can't play file after dowloaded with MediaPlayer
+ Can't play dowloaded file with MediaPlayer
Revision history for this message
Manuel de la Peña (mandel) wrote :

I believe this is not longer the case. There was an apparmor issue that was later fixed. Please reopen if it continues to happen.

Changed in ubuntu-download-manager:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.