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

Login fails #20

Closed a-m-s closed 7 years ago

a-m-s commented 7 years ago

When I try to log in (Amazon UK) it pops up the "open in" dialog box, and log in just doesn't happen. Perhaps an issue with the URL pattern matching?

This is with Nuvola 3.1.1+201703121725.8dd4dc8 and Amazon Cloud Player 5.3 from the flatpak install.

I've previously been able to use this with 3.0.4 just fine.

jiri-janousek commented 7 years ago

Hello @a-m-s. Could you provide a debugging output? flatpak run eu.tiliado.NuvolaApp... -D should do the trick. Thanks.

a-m-s commented 7 years ago
$ flatpak run eu.tiliado.Nuvola -D   
Master: [CRITICAL Δ046263us   Gdk] gdk_screen_get_root_window: assertion 'GDK_IS_SCREEN (screen)' failed
Master: [CRITICAL Δ000044us   Gdk] Application will not function properly.
Master: [CRITICAL Δ000435us Nuvola] nuvola_xkey_grabber_construct: assertion 'root_window != NULL' failed
Master: [CRITICAL Δ000030us Nuvola] Application will not function properly.
Master: [CRITICAL Δ000053us Nuvola] nuvola_global_actions_key_binder_construct: assertion 'grabber != NULL' failed
Master: [CRITICAL Δ000013us Nuvola] Application will not function properly.
Master: [CRITICAL Δ000013us Nuvola] nuvola_actions_key_binder_server_construct: assertion 'keybinder != NULL' failed
Master: [CRITICAL Δ000009us Nuvola] Application will not function properly.
Master: [CRITICAL Δ000037us Nuvola] nuvola_media_keys_construct: assertion 'key_grabber != NULL' failed
Master: [CRITICAL Δ000010us Nuvola] Application will not function properly.
Master: [CRITICAL Δ000078us Nuvola] nuvola_media_keys_server_construct: assertion 'media_keys != NULL' failed
Master: [CRITICAL Δ000009us Nuvola] Application will not function properly.
Master: [DEBUG Δ052346us DioriteGtk] DesktopShell.vala:96: Shell: gnome shell 3.22.3, CSD 1, appmenu 1, menubar 0
Master: [DEBUG Δ002460us Nuvola] WebAppRegistry.vala:137: Found web app YouTube at /home/ams/.var/app/eu.tiliado.Nuvola/data/nuvolaplayer3/web_apps/eu.tiliado.NuvolaAppYoutube, version 1.3
Master: [DEBUG Δ000358us Nuvola] WebAppRegistry.vala:137: Found web app BBC iPlayer at /home/ams/.var/app/eu.tiliado.Nuvola/data/nuvolaplayer3/web_apps/eu.tiliado.NuvolaAppBbcIplayer, version 1.0
Master: [DEBUG Δ000333us Nuvola] WebAppRegistry.vala:137: Found web app Amazon Cloud Player at /home/ams/.var/app/eu.tiliado.Nuvola/data/nuvolaplayer3/web_apps/eu.tiliado.NuvolaAppAmazonCloudPlayer, version 5.3
Master: [DEBUG Δ000385us Nuvola] WebAppRegistry.vala:137: Found web app Test at /app/share/nuvolaplayer3/web_apps/test, version 1.0
Master: [DEBUG Δ010428us Nuvola] WebApp.vala:246: Theme icon nuvolaplayer3_amazon_cloud_player 48 not found.
Master: [DEBUG Δ009325us Nuvola] WebApp.vala:246: Theme icon nuvolaplayer3_bbc_iplayer 48 not found.
Master: [DEBUG Δ004271us Nuvola] WebApp.vala:246: Theme icon nuvolaplayer3_test 48 not found.
Master: [DEBUG Δ001710us Nuvola] WebApp.vala:246: Theme icon nuvolaplayer3_youtube 48 not found.
Master: [DEBUG Δ128284us DioriteGtk] Application.vala:218: XFCE session vanished: org.xfce.SessionManager
Master: [DEBUG Δ06s005079us Nuvola] MasterController.vala:556: DBus activation of eu.tiliado.NuvolaAppAmazonCloudPlayer succeeded.
Master: [DEBUG Δ022641us Nuvola] MasterController.vala:642: Launch app runner for 'amazon_cloud_player': eu.tiliado.NuvolaAppAmazonCloudPlayer
Master: [DEBUG Δ001083us Nuvola] MasterController.vala:402: Connected to runner server for 'amazon_cloud_player'.

There doesn't seem to be much output around the login. Attached is a screenshot of what I see when I click "Sign in". screenshot from 2017-03-17 09-47-21

a-m-s commented 7 years ago

Wait, when I launch the Amazon Cloud Player directly, rather than via the Nuvola launcher, I get this debug output:

$ flatpak run eu.tiliado.NuvolaAppAmazonCloudPlayer -D
Runner: [DEBUG Δ035652us Nuvola] WebAppRegistry.vala:137: Found web app Amazon Cloud Player at /app/share/nuvolaplayer3/web_apps/amazon_cloud_player, version 5.3
Runner: [DEBUG Δ000212us Nuvola] WebAppRegistry.vala:137: Found web app Test at /app/share/nuvolaplayer3/web_apps/test, version 1.0
Runner: [INFO Δ000057us Nuvola] WebAppRegistry.vala:91: Using web app Amazon Cloud Player, version 5.3, data dir /app/share/nuvolaplayer3/web_apps/amazon_cloud_player
Runner: [DEBUG Δ002585us DioriteGtk] DesktopShell.vala:96: Shell: gnome shell 3.22.3, CSD 1, appmenu 1, menubar 0
Runner: [DEBUG Δ152657us DioriteGtk] Application.vala:218: XFCE session vanished: org.xfce.SessionManager
Runner: [DEBUG Δ021209us Nuvola] Connection.vala:132: Network Proxy: system settings
Runner: [DEBUG Δ006969us Nuvola] WebEngine.vala:124: Nuvola WebKit Extension directory: /app/lib/nuvolaplayer3
Runner: [DEBUG Δ000227us Nuvola] WebEngine.vala:127: Nuvola WebKit Extension data: {'WEBKITGTK_MICRO': <uint32 91>, 'RUNNER_BUS_NAME': <'N3amazoncloudplayer'>, 'WEB_APP_ID': <'amazon_cloud_player'>, 'LIBSOUP_MICRO': <uint32 0>, 'NUVOLA_API_ROUTER_TOKEN': <'087fbae8d10efeb997ced698007aa03139e76cf870be86c8895b613818537dca'>, 'WEBKITGTK_MAJOR': <uint32 2>, 'LIBSOUP_MAJOR': <uint32 2>, 'WEBKITGTK_MINOR': <uint32 15>, 'LIBSOUP_MINOR': <uint32 56>}
Runner: [INFO Δ007609us Nuvola] WebEngine.vala:369: User agent set 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/604.1 (KHTML, like Gecko) Version/11.0 Safari/604.1'
Runner: [WARNING Δ000600us Nuvola] Traits.vala:54: No requirements specified. 'Feature[flash] Codec[mp3]' used by default but that may change in the future.
Runner: [DEBUG Δ012408us Nuvola] FormatSupport.vala:110: Trying to play /app/share/nuvolaplayer3/audio/audiotest.mp3.
Runner: [DEBUG Δ000736us Nuvola] FormatSupport.vala:110: Pipeline state changed from NULL to READY.
Runner: [DEBUG Δ006312us Nuvola] FormatSupport.vala:110: Pipeline state changed from READY to PAUSED.
Runner: [DEBUG Δ000242us Nuvola] FormatSupport.vala:110: Pipeline state changed from PAUSED to PLAYING.
Runner: [DEBUG Δ017303us Nuvola] FormatSupport.vala:110: End of stream for file /app/share/nuvolaplayer3/audio/audiotest.mp3.
Runner: [DEBUG Δ000445us Nuvola] FormatSupportCheck.vala:150: Nuvola.WebPlugin: Shockwave Flash (enabled, flash) at /app/lib/flash/libflashplayer.so: Shockwave Flash 24.0 r0
Runner: [DEBUG Δ000038us Nuvola] FormatSupportCheck.vala:172: MSE is disabled
Runner: [DEBUG Δ000044us Nuvola] WebApp.vala:135: Requirements expression: '(null)'
Runner: [DEBUG Δ000137us Nuvola] Traits.vala:142: Feature[flash] -> true 
Runner: [DEBUG Δ000029us Nuvola] Traits.vala:142: Codec[mp3] -> true 
Runner: [DEBUG Δ000025us Nuvola] WebApp.vala:137: Requirements expression: '(null)' -> true
Worker: [DEBUG Δ009579us Nuvola] WebExtension.vala:272: Page 1 created for (null)
Runner: [DEBUG Δ038286us Nuvola] WebEngine.vala:694: Load started
Worker: [DEBUG Δ003245us Nuvola] WebExtension.vala:284: Document loaded about:loading
Runner: [DEBUG Δ007008us Nuvola] WebEngine.vala:211: Init finished
Runner: [WARNING Δ001321us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000434us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000460us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000462us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000486us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000435us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000444us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000466us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000304us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000384us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000556us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000463us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000400us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000317us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [DEBUG Δ011152us Nuvola] Notifications.vala:175: Notifications: persistence true, actions true, icons false
Runner: [WARNING Δ001106us Nuvola] MediaKeyClient.vala:58: Remote call /nuvola/mediakeys/manage failed: No handler for message '/nuvola/mediakeys/manage::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [DEBUG Δ004826us Nuvola] AppRunnerController.vala:492: Component tray_icon (Tray Icon) not enabled
Runner: [DEBUG Δ000026us Nuvola] AppRunnerController.vala:492: Component unity_launcher (Unity Laucher) enabled
Runner: [DEBUG Δ000013us Nuvola] AppRunnerController.vala:492: Component notifications (Notifications) enabled
Runner: [DEBUG Δ000029us Nuvola] AppRunnerController.vala:492: Component mediakeys (Media keys) enabled
Runner: [DEBUG Δ000014us Nuvola] AppRunnerController.vala:492: Component passwordmanager (Password Manager (Experimental)) not enabled
Runner: [DEBUG Δ000042us Nuvola] AppRunnerController.vala:492: Component scrobbler (Audio Scrobbler Services) enabled
Runner: [DEBUG Δ000026us Nuvola] AppRunnerController.vala:492: Component mpris (MPRIS 2) enabled
Runner: [DEBUG Δ000050us Nuvola] AppRunnerController.vala:492: Component httpremotecontrol (Remote control over HTTP (experimental)) not enabled
Runner: [DEBUG Δ000030us Nuvola] AppRunnerController.vala:492: Component lyrics (Lyrics) enabled
Runner: [DEBUG Δ000025us Nuvola] AppRunnerController.vala:492: Component developer (Developer's tools) enabled
Runner: [DEBUG Δ006199us Nuvola] WebEngine.vala:196: App Runner Initialized
Runner: [DEBUG Δ000153us Nuvola] WebEngine.vala:201: App Runner Ready
Runner: [DEBUG Δ004358us Nuvola] WebWorker.vala:74: Cannot call ('Nuvola.actions.emit', <('ActionEnabledChanged', 'go-back', false)>)
Runner: [DEBUG Δ000162us Nuvola] WebWorker.vala:74: Cannot call ('Nuvola.actions.emit', <('ActionEnabledChanged', 'go-forward', false)>)
Runner: [DEBUG Δ000257us Nuvola] WebEngine.vala:214: Web Worker Ready
Runner: [DEBUG Δ000094us Nuvola] MPRISProvider.vala:73: Bus acquired: org.mpris.MediaPlayer2.NuvolaAppAmazonCloudPlayer, registering objects
Runner: [DEBUG Δ002047us Nuvola] WebEngine.vala:725: Navigation, current window: uri = https://www.amazon.co.uk/ap/signin?_encoding=UTF8&accountStatusPolicy=P1&openid.assoc_handle=gbflex&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&openid.pape.max_auth_age=0&openid.return_to=https%3A%2F%2Fwww.amazon.co.uk%3A443%2Fgp%2Fredirect.html%3F_encoding%3DUTF8%26location%3Dhttps%253A%252F%252Fmusic.amazon.co.uk%253Fref%253Ddm_wcp_af_nr%26source%3Dstandards%26token%3DFC71B429B583A5547585C56F3797A7FD1BBC6B05%23&pageId=amzn_cpweb&showRmrMe=1, result = false, frame = (null), type = WEBKIT_NAVIGATION_TYPE_OTHER, user gesture false
Runner: [DEBUG Δ000153us Nuvola] MPRISProvider.vala:90: Bus name acquired: org.mpris.MediaPlayer2.NuvolaAppAmazonCloudPlayer
Runner: [DEBUG Δ001410us Nuvola] WebEngine.vala:694: Load started
Runner: [WARNING Δ000439us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ001495us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000047us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000034us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000034us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000021us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Runner: [WARNING Δ000022us Nuvola] ActionsKeyBinderClient.vala:86: Remote call /nuvola/actionkeybinder/bind failed: No handler for message '/nuvola/actionkeybinder/bind::prw,tuple,e8bfad51b7e641e82d9953d477800699a183ad64990ae9b38de1bba18550ed8c'
Worker: [DEBUG Δ322461us Nuvola] WebExtension.vala:129: Window object cleared for 'https://www.amazon.co.uk/ap/signin?_encoding=UTF8&accountStatusPolicy=P1&openid.assoc_handle=gbflex&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&openid.pape.max_auth_age=0&openid.return_to=https%3A%2F%2Fwww.amazon.co.uk%3A443%2Fgp%2Fredirect.html%3F_encoding%3DUTF8%26location%3Dhttps%253A%252F%252Fmusic.amazon.co.uk%253Fref%253Ddm_wcp_af_nr%26source%3Dstandards%26token%3DFC71B429B583A5547585C56F3797A7FD1BBC6B05%23&pageId=amzn_cpweb&showRmrMe=1'
Worker: [DEBUG Δ000027us Nuvola] WebExtension.vala:140: Init frame: https://www.amazon.co.uk/ap/signin?_encoding=UTF8&accountStatusPolicy=P1&openid.assoc_handle=gbflex&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&openid.pape.max_auth_age=0&openid.return_to=https%3A%2F%2Fwww.amazon.co.uk%3A443%2Fgp%2Fredirect.html%3F_encoding%3DUTF8%26location%3Dhttps%253A%252F%252Fmusic.amazon.co.uk%253Fref%253Ddm_wcp_af_nr%26source%3Dstandards%26token%3DFC71B429B583A5547585C56F3797A7FD1BBC6B05%23&pageId=amzn_cpweb&showRmrMe=1, 0x2121d10, 0x1eea320, 0x7f2f15fd00e8
Worker: [DEBUG Δ021413us Nuvola] jsapi.vala:579: Nuvola.log: 'Unprefix: webkitIndexedDB -> IndexedDB | [object IDBFactory]'
Worker: [DEBUG Δ000144us Nuvola] jsapi.vala:579: Nuvola.log: 'Unprefix: webkitConvertPointFromPageToNode -> ConvertPointFromPageToNode | function webkitConvertPointFromPageToNode() {\n    [native code]\n}'
Worker: [DEBUG Δ000039us Nuvola] jsapi.vala:579: Nuvola.log: 'Unprefix: webkitConvertPointFromNodeToPage -> ConvertPointFromNodeToPage | function webkitConvertPointFromNodeToPage() {\n    [native code]\n}'
Worker: [DEBUG Δ000037us Nuvola] jsapi.vala:579: Nuvola.log: 'Unprefix: webkitRequestAnimationFrame -> RequestAnimationFrame | function webkitRequestAnimationFrame() {\n    [native code]\n}'
Worker: [DEBUG Δ000031us Nuvola] jsapi.vala:579: Nuvola.log: 'Unprefix: webkitCancelAnimationFrame -> CancelAnimationFrame | function webkitCancelAnimationFrame() {\n    [native code]\n}'
Worker: [DEBUG Δ000029us Nuvola] jsapi.vala:579: Nuvola.log: 'Unprefix: webkitCancelRequestAnimationFrame -> CancelRequestAnimationFrame | function webkitCancelRequestAnimationFrame() {\n    [native code]\n}'
Worker: [DEBUG Δ000048us Nuvola] jsapi.vala:579: Nuvola.log: 'Missing hidden: webkitMediaSource -> MediaSource | undefined'
Worker: [DEBUG Δ000060us Nuvola] jsapi.vala:579: Nuvola.log: 'Unprefix hidden: webkitAudioContext -> AudioContext | function webkitAudioContext() {\n    [native code]\n}'
Worker: [DEBUG Δ000056us Nuvola] jsapi.vala:579: Nuvola.log: 'Unprefix hidden: webkitAudioPannerNode -> AudioPannerNode | function webkitAudioPannerNode() {\n    [native code]\n}'
Worker: [DEBUG Δ000035us Nuvola] jsapi.vala:579: Nuvola.log: 'Unprefix hidden: webkitOfflineAudioContext -> OfflineAudioContext | function webkitOfflineAudioContext() {\n    [native code]\n}'
Worker: [DEBUG Δ068042us Nuvola] WebExtension.vala:284: Document loaded https://www.amazon.co.uk/ap/signin?_encoding=UTF8&accountStatusPolicy=P1&openid.assoc_handle=gbflex&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&openid.pape.max_auth_age=0&openid.return_to=https%3A%2F%2Fwww.amazon.co.uk%3A443%2Fgp%2Fredirect.html%3F_encoding%3DUTF8%26location%3Dhttps%253A%252F%252Fmusic.amazon.co.uk%253Fref%253Ddm_wcp_af_nr%26source%3Dstandards%26token%3DFC71B429B583A5547585C56F3797A7FD1BBC6B05%23&pageId=amzn_cpweb&showRmrMe=1
Runner: [DEBUG Δ380447us Nuvola] DeveloperSidebar.vala:172: Media player notify: artwork-location
Runner: [DEBUG Δ001376us Nuvola] DeveloperSidebar.vala:172: Media player notify: artwork-location
Runner: [DEBUG Δ001184us Nuvola] DeveloperSidebar.vala:172: Media player notify: can-pause
Runner: [DEBUG Δ000150us Nuvola] DeveloperSidebar.vala:172: Media player notify: can-stop
Runner: [DEBUG Δ000174us Nuvola] DeveloperSidebar.vala:172: Media player notify: artwork-location
Runner: [DEBUG Δ001182us Nuvola] DeveloperSidebar.vala:172: Media player notify: can-play
Runner: [DEBUG Δ000258us Nuvola] DeveloperSidebar.vala:172: Media player notify: artwork-location
Runner: [DEBUG Δ001013us Nuvola] DeveloperSidebar.vala:172: Media player notify: can-go-previous
Runner: [DEBUG Δ000199us Nuvola] DeveloperSidebar.vala:172: Media player notify: artwork-location
Runner: [DEBUG Δ000896us Nuvola] DeveloperSidebar.vala:172: Media player notify: can-go-next
Runner: [DEBUG Δ132404us Nuvola] DeveloperSidebar.vala:172: Media player notify: artwork-location
Runner: [DEBUG Δ21s086756us Nuvola] WebEngine.vala:725: Navigation, current window: uri = https://www.amazon.co.uk/ap/signin?ie=UTF8&pf_rd_r=CT9C847K7GXNHWWQKHTV&pf_rd_m=A3P5ROKL5A1OLE&pf_rd_t=6301&pf_rd_i=amzn_cpweb&pf_rd_p=485414547&pf_rd_s=signin-slot, result = false, frame = (null), type = WEBKIT_NAVIGATION_TYPE_FORM_SUBMITTED, user gesture true

The very last line is all that's new when I click "Sign in".

jiri-janousek commented 7 years ago

Indeed, the URL pattern matching needs to be updated because Nuvola 3.1 filters all navigation actions triggered by an user interaction - not only link click as in Nuvola 3.0. Although I cannot think of any use case for filtering the form submissions, I'd like to leave this option open for now.

Would you be interested in becoming the maintainer of the Amazon Cloud Player script and fixing this issue?

a-m-s commented 7 years ago

OK, I don't mind maintaining the players I actually use. Add the repo to the maintainers team and I'll take a look when I get time.

jiri-janousek commented 7 years ago

Done, thank you. Also set yourself as the maintainer in metadata.in.json.

a-m-s commented 7 years ago

Should be fixed now.

The login API uses www.amazon.*/{gp,ap} URLs. I've noticed any other functionality fail with those URLs allowed. The gp/ap urls don't seem to be used for readable pages, so this ought to work as intended.