tiliado / nuvola-app-amazon-cloud-player

Amazon Cloud Player script for Nuvola Apps Runtime.
https://nuvola.tiliado.eu/app/amazon_cloud_player/
BSD 2-Clause "Simplified" License
7 stars 7 forks source link

"Flash blocked" error for Prime streaming #28

Closed thw0rted closed 7 years ago

thw0rted commented 7 years ago

I'm trying to use the Cloud Player module to listen to Prime streaming music. I'm on Ubuntu 16.04. I was unable to do it in Chromium, which I'm told may be because of the DRM Amazon is trying to use. I was hoping that the version of Flash that Nuvola uses might be different, but it looks like that's not the case. I get this:

image

Of course, Flash is actually enabled, but the error message may actually mean that the version of Flash in use doesn't support the DRM they want. For reference:

image

jiri-janousek commented 7 years ago

Hello @thw0rted. Thanks for taking the time to report your issue. I need more information to investigate it further:

thw0rted commented 7 years ago

The player is release 3.0.9 installed from the Xenial repository (f79856a). When I attempted to reproduce the issue, the player started working -- I don't think I made any changes or installed anything new. So, I guess you can close this and I'll report back in if it happens again. Thanks!

thw0rted commented 7 years ago

Actually, hold the phone, it broke again. This is very strange.

I played a song, and it worked, but the interface language was not what I wanted (I live in Germany but my German is not great). So, I scrolled down to my name, and clicked to change settings (Einstellungen in German). This opened a new window with my account prefs, and here I was able to switch to English. After I did that I closed the settings window and refreshed the player window using the context menu -> refresh. Now, I picked an album to listen to and it showed the same "Flash Blocked" popup.

I believe the debug log was running the whole time. I'm attaching it now. debuglog.txt

...aaaand now it's working again. I quit the player before uploading the debug output. Then I launched it again, on the hunch that maybe "stations" worked but "albums" don't, and playing an album or station worked fine.

jiri-janousek commented 7 years ago

After I did that I closed the settings window and refreshed the player window using the context menu -> refresh. Now, I picked an album to listen to and it showed the same "Flash Blocked" popup.

Unfortunately, there is no page refresh in the log. Could you try to reproduce the issue again and collect new debug log?

thw0rted commented 7 years ago

Sorry it's taken so long to get back, I've tried this several more times but can't seem to reproduce when the debug log is running. I'll post back here if I actually manage to capture the failure.

jiri-janousek commented 7 years ago

My guess is that the issue is caused by tiliado/nuvolaruntime#354. Flash loads fine for the first time but than fails every time a page is reloaded or a new page is loaded. Nuvola 4.5 contains workaround for this bug.