** Project changed: qtubuntu => qtubuntu (Ubuntu)

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

Title:
  [qtubuntu-media] QMediaPlayer: only file:// URLs supported

Status in qtubuntu package in Ubuntu:
  Invalid

Bug description:
  QMediaPlayer accepts QUrl objects for the "setMedia" method, but the ubuntu 
adapter to android MediaPlayer silently uses only the path component of that 
URL, i.e. URLs like
    http://192.168.178.29:8200/MediaItems/1750.mp3
  are silently converted to
    /MediaItems/1750.mp3
  which is "no such file or directory" on the local device file system.

  It's rather important for most music players to be able to stream
  http:// URLs, like in this example to support DLNA/UPnP access.

  There's a fix that requires both Qt and Android-MediaPlayer to
  recognize the same string reprentations of URLs. It works for my
  device and IMHO simplifies code. I'm not sure if it introduces any
  resource leaks, ie. if there is a requirement to clean up somewhere..
  Also I'm pretty sure that the call to QUrl::toString() should be
  replaced with QUrl::toEncoded() in order to support non-ASCII
  characters, but I don't feel like compiling qubuntu-media again on my
  non-armhf machine to test it, since pbuilder-dist is rather slow when
  doing that.

  Nevertheless, I'm attaching my patches for libhybris and qtubuntu-
  media. Please note that I've done the changes for libhybris in an
  unversioned environment.. I *swear* I've branched those projects using
  bzr when first setting up the Ubuntu Touch project, but somehow they
  are just plain old files now. I noticed that too late, and tried to
  port all my changes to an actual libhybris checkout, but I haven't
  tested the resulting patch. I hope the intention of the patch is clear
  though.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtubuntu/+bug/1197114/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to