[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-28 Thread kevin gunn
seems it's gonna take a little digging.
pushing out target date
assign to saviq so it's not lost

** Changed in: unity8 (Ubuntu RTM)
 Assignee: (unassigned) = Michał Sawicz (saviq)

** Changed in: unity8 (Ubuntu)
 Assignee: (unassigned) = Michał Sawicz (saviq)

** Tags removed: touch-2014-10-30
** Tags added: touch-2014-11-13

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-27 Thread kevin gunn
** Tags removed: touch-2014-10-23
** Tags added: touch-2014-10-30

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-27 Thread kevin gunn
** Also affects: unity8 (Ubuntu RTM)
   Importance: Undecided
   Status: New

** Changed in: unity8 (Ubuntu RTM)
   Importance: Undecided = Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-27 Thread Lorn Potter
After initial testing, it looks like something like this needs to get used:
url.setPath(path,QUrl::DecodedMode);

As the default mode, QUrl::TolerantMode as well as QUrl::StrictMode
result in the '%3D' getting mangled.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-20 Thread Facundo Batista
The URL is coming from the server is ok, like the one pointing James
above, or this example:

http://previews.7digital.com/clip/40202347?oauth_nonce=05780389oauth_timestamp=1413816139country=USoauth_consumer_key=7d7e9ja2evm7oauth_signature_method
=HMAC-
SHA1oauth_version=1.0oauth_signature=FVgXk5tzbSyyB6/g/78GO8REavA%3D

The problem is that at some point it's get mangled. See what unity8 logs
in the device (unity8-dash.log):

  Setting media to:   QUrl(
http://previews.7digital.com/clip/40202347?oauth_nonce=05780389oauth_timestamp=1413816139country=USoauth_consumer_key=7d7e9ja2evm7oauth_signature_method
=HMAC-
SHA1oauth_version=1.0oauth_signature=FVgXk5tzbSyyB6/g/78GO8REavA= )

(pay extra attention to the last character in the URL)

Changing the project to unity8 as for Saviq recomendation in IRC.

** Project changed: ubuntu-rest-scopes = unity8

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity8/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-20 Thread Michał Sawicz
** Project changed: unity8 = unity8 (Ubuntu)

** Changed in: unity8 (Ubuntu)
 Assignee: Facundo Batista (facundo) = (unassigned)

** Also affects: qtbase-opensource-src (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-20 Thread Michał Sawicz
I looked at it before (I even think there was a bug already...), it
seems to be QUrl that unescapes things in the params.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-17 Thread James Henstridge
** Changed in: unity-scope-mediascanner (Ubuntu)
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-rest-scopes/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-16 Thread Brendan Donegan
** Tags added: rtm14

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scope-mediascanner/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-16 Thread Victor Tuson Palau
** Changed in: unity-scope-mediascanner (Ubuntu)
   Importance: Undecided = Critical

** Changed in: unity-scope-mediascanner (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scope-mediascanner/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-16 Thread Olli Ries
** Tags added: touch-2014-10-23

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scope-mediascanner/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-16 Thread James Henstridge
** Also affects: ubuntu-rest-scopes
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-rest-scopes/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-16 Thread James Henstridge
** Changed in: ubuntu-rest-scopes
   Importance: Undecided = Critical

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-rest-scopes/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-16 Thread James Henstridge
Adding a bug task for ubuntu-rest-scopes, since that is where the
7digital results come from (the Music page on the dash is just
aggregating them).

Using scopes-client, the data for the audio tracks in the previews looks
like e.g:

  {
length:209,

source:http://previews.7digital.com/clip/39903197?oauth_nonce=96292359oauth_timestamp=1413518820oauth_consumer_key=7d7e9ja2evm7oauth_signature_method=HMAC-SHA1oauth_version=1.0oauth_signature=L0xPZSEB2DnM%2BJxrCZMFiv2gPms%3D;,
title:01. County Line,
  }

It looks like 7digital performs some user agent sniffing for these URLs,
since requests for this URL with wget result in a 403 forbidden error,
but successfully send the MP3 data if I use a blank or nonsense user
agent.  Presumably the in-dash playback is being blocked in a similar
fashion.

So to sum up, the questions are:

 1. what UA does the dash send when it tries to play audio in previews?
 2. If that UA is generic and shared by apps on other platforms, we should 
probably change it.
 3. If that UA is unique to Ubuntu, then 7digital is explicitly blocking us and 
someone needs to get in contact with them to sort it out.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-rest-scopes/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1381930] Re: 7digital previews do not play in the scope

2014-10-16 Thread Lucio Torre
** Changed in: ubuntu-rest-scopes
 Assignee: (unassigned) = Facundo Batista (facundo)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1381930

Title:
  7digital previews do not play in the scope

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-rest-scopes/+bug/1381930/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs