[TOPBLOCKER] 7digital previews do not play in the scope
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtbase-opensource-src (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
qtubuntu-media (Ubuntu) |
Fix Released
|
Critical
|
Jim Hodapp | ||
qtubuntu-media (Ubuntu RTM) |
Fix Released
|
Critical
|
Jim Hodapp | ||
unity-scope-mediascanner (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
unity-scopes-api (Ubuntu) |
Fix Released
|
High
|
Paweł Stołowski | ||
unity-scopes-api (Ubuntu RTM) |
Fix Released
|
Critical
|
Unassigned | ||
unity8 (Ubuntu) |
Invalid
|
Critical
|
Michał Sawicz | ||
unity8 (Ubuntu RTM) |
Invalid
|
Critical
|
Unassigned |
Bug Description
Steps to reproduce:
1. Navigate to the music scope
2. In the section 'New albums from 7digital' click on any album
3. Press the play button on one of the track previews
Expected result:
The preview plays
Actual result:
No preview plays
ProblemType: Bug
DistroRelease: Ubuntu RTM 14.09
Package: unity-scope-
Uname: Linux 3.4.67 armv7l
ApportVersion: 2.14.7-0ubuntu5
Architecture: armhf
Date: Thu Oct 16 08:11:12 2014
InstallationDate: Installed on 2014-10-16 (0 days ago)
InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20141016-010328)
SourcePackage: unity-scope-
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Ricardo Salveti (community): Approve
- Michał Sawicz: Approve (code)
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 19 lines (+8/-1)1 file modifiedsrc/aal/aalmediaplayercontrol.cpp (+8/-1)
- PS Jenkins bot (community): Approve (continuous-integration)
- Marcus Tomlinson (community): Approve
-
Diff: 14 lines (+2/-2)1 file modifiedsrc/scopes/internal/smartscopes/SmartScopesClient.cpp (+2/-2)
- Pete Woods (community): Approve
-
Diff: 14 lines (+2/-2)1 file modifiedsrc/scopes/internal/smartscopes/SmartScopesClient.cpp (+2/-2)
- Unity Team: Pending requested
-
Diff: 14 lines (+2/-2)1 file modifiedsrc/scopes/internal/smartscopes/SmartScopesClient.cpp (+2/-2)
tags: | added: rtm14 |
Changed in unity-scope-mediascanner (Ubuntu): | |
importance: | Undecided → Critical |
status: | New → Confirmed |
tags: | added: touch-2014-10-23 |
Changed in ubuntu-rest-scopes: | |
importance: | Undecided → Critical |
Changed in ubuntu-rest-scopes: | |
assignee: | nobody → Facundo Batista (facundo) |
Changed in unity-scope-mediascanner (Ubuntu): | |
status: | Confirmed → Invalid |
affects: | unity8 → unity8 (Ubuntu) |
Changed in unity8 (Ubuntu): | |
assignee: | Facundo Batista (facundo) → nobody |
tags: |
added: touch-2014-10-30 removed: touch-2014-10-23 |
Changed in unity8 (Ubuntu RTM): | |
importance: | Undecided → Critical |
summary: |
- 7digital previews do not play in the scope + [TOPBLOCKER] 7digital previews do not play in the scope |
Changed in unity8 (Ubuntu RTM): | |
status: | New → Incomplete |
Changed in unity8 (Ubuntu): | |
status: | New → Incomplete |
Changed in qtubuntu-media (Ubuntu): | |
status: | New → Confirmed |
Changed in unity8 (Ubuntu RTM): | |
status: | Incomplete → Invalid |
Changed in unity8 (Ubuntu): | |
status: | Incomplete → Invalid |
Changed in unity8 (Ubuntu RTM): | |
assignee: | Michał Sawicz (saviq) → nobody |
Changed in unity-scopes-api (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Pawel Stolowski (stolowski) |
Changed in qtubuntu-media (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in qtubuntu-media (Ubuntu RTM): | |
status: | In Progress → Fix Committed |
Changed in unity-scopes-api (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unity-scopes-api (Ubuntu RTM): | |
status: | New → Fix Committed |
Changed in unity-scopes-api (Ubuntu): | |
status: | Fix Committed → Fix Released |
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:
{ previews. 7digital. com/clip/ 39903197? oauth_nonce= 96292359& oauth_timestamp =1413518820& oauth_consumer_ key=7d7e9ja2evm 7&oauth_ signature_ method= HMAC-SHA1& oauth_version= 1.0&oauth_ signature= L0xPZSEB2DnM% 2BJxrCZMFiv2gPm s%3D",
"length":209,
"source":"http://
"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.