Amazon Cloud Player opens site in browser

Bug #1333906 reported by theli
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Nuvola Apps Runtime (Nuvola Player)
Fix Released
High
Unassigned

Bug Description

The fix is available as a service update package. See https://nuvolaplayer.fenryxo.cz/download/service_updates.html (Amazon Cloud Player, version 4.4).

Fix committed to lp:nuvola-player/2.4.x as r836. Will be released in Nuvola Player 2.4.1.
<http://bazaar.launchpad.net/~fenryxo/nuvola-player/2.4.x/revision/836>

Fix committed to lp:nuvola-player as r841. Will be released in Nuvola Player 2.5.0.
<http://bazaar.launchpad.net/~fenryxo/nuvola-player/trunk/revision/841>

Original report
===============

http://privatepaste.com/download/5fc54f8e55
Nuvola 2.4.0
Ubuntu 12.04, x86_64
How to reproduce bug:
Open Nuvolaplayer
Switch to Amazon Cloud Player service

Basically it the same issue as in https://bugs.launchpad.net/nuvola-player/+bug/1134756 again with latest service version

Related branches

Revision history for this message
theli (theli-ukr) wrote :

Apparently thats a sandbox pattern not matching
http://www.amazon.com/gp/dmusic/cloudplayer/player?ie=UTF8&*Version*=1&*entries*=0
Which I tried to fix by changing to
https?://((www\.)?amazon\.(com|fr|de|co\.uk)/(ap/signin|gp/dmusic/((mp3|cloudplayer)/(player|forceSignIn)|marketing/CloudPlayerLaunchPage)(\?.*)?|gp/redirect))|.*/nuvolaplayer/services/amazon/home.html
But that doesn't work for w/e reason

Revision history for this message
theli (theli-ukr) wrote :

O, so sandbox pattern
https?://((www\.)?amazon\.(com|fr|de|co\.uk)/(ap/signin|gp/dmusic/((mp3|cloudplayer)/(player|forceSignIn)|marketing/CloudPlayerLaunchPage)|gp/redirect))|.*/nuvolaplayer/services/amazon/home.html
actually works, though it still fails to stream prime music. Though I'll probably open a separate bug for that

Revision history for this message
Jiří Janoušek (fenryxo) wrote :

I've subscribed the maintainer of Amazon cloud Player integration - Michael Mims.

Michael, could you verify the issue and the new sandbox pattern? Also, the current one is a bit comlicated. Could it be possible to use something like this?

https?://(www\.)?amazon\.(com|fr|de|co\.uk)/(ap/signin|gp/dmusic/.*(CloudPlayer|mp3|cloudplayer)|gp/redirect)|file:///.*/amazon/home.html

Revision history for this message
Michael Mims (mims-michael) wrote :

Yes, there is an issue with the current sandbox. I've tried out a new one and it seems to be working:

sandbox_pattern = https?://(www\.)?amazon\.(com|fr|de|co\.uk)/(ap/signin.*|gp/dmusic/.*|gp/redirect)|https?://.*ssl-images-amazon\..*|file:///.*/amazon/home.html

Additionally, Flash must be enabled in order to stream Prime music.

Revision history for this message
Michael Mims (mims-michael) wrote :

Jiří, which branches do I need to submit the change to?

Revision history for this message
Jiří Janoušek (fenryxo) wrote : Re: [Bug 1333906] Re: Amazon Cloud Player opens site in browser

On Thu, Jun 26, 2014 at 3:06 PM, Michael Mims <email address hidden> wrote:
> Jiří, which branches do I need to submit the change to?

lp:nuvola-player (trunk), I'll cherry-pick the changes to stable branch then.

Changed in nuvola-player:
status: New → In Progress
importance: Undecided → High
milestone: none → 2.4.1
description: updated
Changed in nuvola-player:
status: In Progress → Fix Released
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.