← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1393318] Re: Media-Hub can't play a file (*.mp3) downloaded with DownloadManager 0.1

 

Hi, here is what I get

2015-03-18 14:23 UTC+01:00, Jamie Strandboge <jamie@xxxxxxxxxx>:
> Are there any apparmor denials at the time of the failure? Please paste the
> output of this command at the time of the denial:
> $ grep DEN /var/log/syslog
>
> ** Changed in: apparmor-easyprof-ubuntu (Ubuntu)
>        Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1393318
>
> Title:
>   Media-Hub can't play a file (*.mp3) downloaded with DownloadManager
>   0.1
>
> Status in apparmor-easyprof-ubuntu package in Ubuntu:
>   Incomplete
>
> Bug description:
>   When download *.mp3 file with DownloadManager 0.1,  can't play it with
> MediaPlayer.
>   The error in media-hub is: Client denied access to open_uri()
>
>   the code:
>
>                   Rectangle {
>                       width: parent.width
>                       height: units.gu(20)
>                       TextField {
>                           id: text
>                           text:
> "http://www.everyayah.com/data/Ghamadi_40kbps/001001.mp3";
>                           height: 50
>                           anchors {
>                               left: parent.left
>                               right: button.left
>                               rightMargin: units.gu(2)
>                           }
>                       }
>                       Button {
>                           id: button
>                           text: "Download"
>                           height: 50
>                           anchors.right: parent.right
>                           onClicked: {
>                               single.download(text.text);
>                           }
>                       }
>                       ProgressBar {
>                           minimumValue: 0
>                           maximumValue: 100
>                           value: single.progress
>                           anchors {
>                               left: parent.left
>                               right: parent.right
>                               bottom: parent.bottom
>                           }
>                           SingleDownload {
>                               id: single
>                           }
>                       }
>                   }
>
>                 MediaPlayer{
>                      id: playSound
>                  }
>
>                   Button {
>                       text:"Play file Downloaded"
>                       onClicked: {
>                           playSound.source=
> "/home/phablet/.local/share/ubuntu-download-manager/com.ubuntu.developer.myApp/Downloads/001001.mp3"
>
>                           playSound.play()
>
>
>                       }
>                   }
>
>   When click on the Button ("Play file Downloaded") le file is not
>   playing
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1393318/+subscriptions
>


** Attachment added: "screenshot20152607_212656329.png"
   https://bugs.launchpad.net/bugs/1393318/+attachment/4368801/+files/screenshot20152607_212656329.png

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor-easyprof-ubuntu
in Ubuntu.
https://bugs.launchpad.net/bugs/1393318

Title:
  Media-Hub can't play a file (*.mp3) downloaded with DownloadManager
  0.1

Status in apparmor-easyprof-ubuntu package in Ubuntu:
  Incomplete

Bug description:
  When download *.mp3 file with DownloadManager 0.1,  can't play it with MediaPlayer.
  The error in media-hub is: Client denied access to open_uri()

  the code:

                  Rectangle {
                      width: parent.width
                      height: units.gu(20)
                      TextField {
                          id: text
                          text: "http://www.everyayah.com/data/Ghamadi_40kbps/001001.mp3";
                          height: 50
                          anchors {
                              left: parent.left
                              right: button.left
                              rightMargin: units.gu(2)
                          }
                      }
                      Button {
                          id: button
                          text: "Download"
                          height: 50
                          anchors.right: parent.right
                          onClicked: {
                              single.download(text.text);
                          }
                      }
                      ProgressBar {
                          minimumValue: 0
                          maximumValue: 100
                          value: single.progress
                          anchors {
                              left: parent.left
                              right: parent.right
                              bottom: parent.bottom
                          }
                          SingleDownload {
                              id: single
                          }
                      }
                  }

                MediaPlayer{
                     id: playSound
                 }

                  Button {
                      text:"Play file Downloaded"
                      onClicked: {
                          playSound.source= "/home/phablet/.local/share/ubuntu-download-manager/com.ubuntu.developer.myApp/Downloads/001001.mp3"

                          playSound.play()

  
                      }
                  }

  When click on the Button ("Play file Downloaded") le file is not
  playing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor-easyprof-ubuntu/+bug/1393318/+subscriptions


References