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

Amazon Music Playlists not playing on Linux Mint #23

Closed macmike closed 7 years ago

macmike commented 7 years ago

Last week, it was working perfectly, this week I can play individual songs from the My Music sognlist but can't view several Amazon Music pages such as Home, Recommended or my playlists. Selecting these pages brings the loading swirly in the main tab but nothing ever resolves.

I've tried turning the flash settings on and off again.

I'm running Linux Mint 17 64 bit nuvola v5.2 0 there's no errors in the console.

a-m-s commented 7 years ago

5.2 is the Amazon plugin version. What version of Nuvola Player do you have?

Can you try the most recent Amazon plugin? It's version 5.4.

macmike commented 7 years ago

I'm running nuvola v3.08 - I'll try updating the plugin...

macmike commented 7 years ago

I'm getting the same behaviour on amazon plugin v5.4

a-m-s commented 7 years ago

There's three things that might have changed: Nuvola, WebKit, and the Amazon website. It's all still working for me. Please check your apt logs and see if anything changed for you.

You can also check if it works in Epiphany (a.k.a. Gnome "Web")? Both Epiphany and Nuvola use the same WebKit, so it'll be a good clue (probably, I don't actually use Mint so I can't be sure). If that doesn't work, and Webkit was recently updated, then try rolling back Webkit and see if that helps.

Future versions will use Flatpak to bundle known-good Webkit and solve this problem. You can try the beta version if you have a suitable tiliado account.

On Sun, 30 Apr 2017, 21:18 Mike MacDonagh, notifications@github.com wrote:

I'm getting the same behaviour on amazon plugin v5.4

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/tiliado/nuvola-app-amazon-cloud-player/issues/23#issuecomment-298254437, or mute the thread https://github.com/notifications/unsubscribe-auth/AE2kJ1JscTZ4P71POV0pQQLulYpV0tAUks5r1OyogaJpZM4NMltL .

macmike commented 7 years ago

Thanks for your help. I can confirm that Amazon Music works in Amazon web player in FireFox, Chrome and Epiphany/Web. Which of the many webkit packages should I downgrade? Synaptic lists 124 with the "webkit" filter?

jiri-janousek commented 7 years ago

Hello @macmike. Nuvola developer here. Thanks for taking the time to report this issue. I was able to reproduce it and managed to get rid of it by purging WebKitGTK+ cache, local storage and friends. There is no button for that in Nuvola yet (tiliado/nuvolaplayer#331) but you can do in with a few commands.

First of all, log out and log in to be sure no WebKitGTK+ applications are running, then run:

APP_ID="amazon_cloud_player"
rm -rf ~/.local/share/webkitgtk ~/.cache/webkitgtk
rm -rf ~/.local/share/webkit  ~/.cache/webkit
rm -rf ~/.cache/nuvolaplayer3/webcache ~/.cache/nuvolaplayer3/WebKitCache
rm -rf ~/.local/share/nuvolaplayer3/apps_data/$APP_ID
rm -rf ~/.cache/nuvolaplayer3/apps_data/$APP_ID
rm -rf ~/.config/nuvolaplayer3/apps_data/$APP_ID

Let me know whether it helps.

macmike commented 7 years ago

Hi @fenryxo - thanks for the tip. I did as you suggested but it didn't work :( It did clear my cache as I had to log in to AMU again, but I still can't see the content frame for playlists/home/recommended etc. although the filters under "My Music" (songs, artists, genres etc.) work as before.

a-m-s commented 7 years ago

Maybe you can see if there's some other config/cache trouble by setting HOME to some empty directory and trying again?

env HOME=/tmp/empty nuvolaplayer3

jiri-janousek commented 7 years ago

Could you also attach a complete debugging output?

macmike commented 7 years ago

I appreciate the help here folks - thankyou.

@a-m-s good idea - no change on a clean profile dir

But, I may be onto something... I tried running Amazon Music from the webkit minibrowser (/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/MiniBrowser) and got an error:

Required plugin could not be found

MiniBrowser requires to install plugins to play media files of the following type: text/html decoder

and in console:

(gstreamer-codec-install:12976): Gtk-WARNING : Theme parsing error: gtk-widgets.css:997:2: Missing name of pseudo-class No handlers could be found for logger "sessioninstaller" ** Error in `/usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitWebProcess': double free or corruption (fasttop): 0x00000000026bdf20 CRITICAL:Could not find any packages to operate on

which I assume means this is a webkit issue rather than a nuvola issue? I think my webkit is borked!

@fenryxo debug log attached. I loaded the app, which was previously on my "Five Star" playlist, moved to "songs" (there's a minified exception at this point but it loads and works) then navigated back to my playlist (doesn't load, no messages I could see) then closed the app. nuvola_log.txt

jiri-janousek commented 7 years ago

Oh, sorry, I've just realized that the Linux Mint version you use (17) is not the latest one (18). That explains a lot. It contains ancient WebKitGTK that contains a) an awful lot of security vulnerabilities b) bugs that prevent some pages from working properly. I should have stopped building packages for these old systems a long ago (let's do that asap tiliado/nuvolaplayer#333). I recommend upgrading your system to LM 18.

This is probably the cause: Runner: https://images-eu.ssl-images-amazon.com/images/G/01/digital/music/player/web/assets/201732719933268/digitalMusicWebPlayer._CB510660637_.js:2:25198: CONSOLE ERROR Error creating Root ractive TypeError: undefined is not an object (evaluating 'e.TYPED_ARRAY_SUPPORT=void 0!==n.TYPED_ARRAY_SUPPORT?n.TYPED_ARRAY_SUPPORT:i()')

macmike commented 7 years ago

Thanks :) I'll upgrade!