Sandmann79 / xbmc

Prime Video Addon for Kodi Media Center
https://forum.kodi.tv/showthread.php?tid=349255
GNU General Public License v3.0
759 stars 191 forks source link

Unable to find the navigation menu for primevideo.com #674

Closed xaviron closed 1 year ago

xaviron commented 1 year ago

Unable to find the navigation menu for primevideo.com.

It seems the structure of Amazon has changed again. Using 0.9.6+Matrix version

Both Nexus and Matrix gives same error

Thank you!

Addon used

Account type

System Setup (please provide the following information):

Upload Logs

Describe the bug

dtechniker commented 1 year ago

YES, I can do that. 01_KODI.log plugin.video.amazon-test.zip

Ronny-nerd commented 1 year ago

Hello Sandmann79

Hardware: Nvidia Shield TV Pro 2019 Language: German For example: Beta5 and Beta6 via the web api ...No output of entries from main menu item:

Home Store Free with ads

https://www.dropbox.com/transfer/AAAAAFJknl6fwwwJYBCXzQLmG9cS0QPKSTTYFf4llbT-wsX73fs-tIY

Sandmann79 commented 1 year ago

@dtechniker there is no playback attempt visible from the logs and please upload debug logs for playback issues.

@Ronny-nerd please try the following change to web_api.py at line 1385 and clear the catalog cache afterwards: var = 'collection' if len(cnt.get('collections', [])) > 0 else 'container'

Ronny-nerd commented 1 year ago

Thanks Sandmann79 ...for the new code in line 1385 in the web_api.py ...so there are entries in these main menu items again.

dtechniker commented 1 year ago

Where can I find the correct log file? I uploaded all the logs from the plugin.video.amazon-test.zip and only one contained a (01_KODI.log) mention of the app.

Screenshot is probably useless, there is only the error message: HTTP Error

Just like with MS Windows "an error has occurred".... ;-)

Sandmann79 commented 1 year ago

The logs are the correct ones only the time of creation is wrong. We need the logs after the playback attempt, not before. And as written above, debug logging must be enabled in the Kodi settings.

dtechniker commented 1 year ago

Next 1. ;-) log-2023-04-15-14.42.15.zip plugin.video.amazon-test.zip

yrp888 commented 1 year ago

Been away but today I installed 0.9.7 beta 6 matrix on the two NUC8 and RPi4 straight over the top of beta5. All Kodis logged in successfully, play shows and display subtitles/CC.

The old web-based auth session is better for me as I was having problems logging into the RPi4 box when I tried downgrading to beta3. I did not have a keyboard available (I was travelling) so I had to enter the credentials using my remote control. As my password is 14char random ASCII, by the time I managed to enter the verification code it must have timed out. The beta6 login solves that (but I was using a keyboard this time).

THANK YOU @Sandmann79 !!!

gdinit commented 1 year ago

With this beta (hopefully the last one before the final) the login should be fixed, because for now the old web based login is used again. This means that 4K is no longer possible under Android, even if the setting is set.

Anyone who has logged in with Beta4 or Beta5 and receives an error message at startup should log in again.

plugin.video.amazon-test-0.9.7~beta6+leia.zip plugin.video.amazon-test-0.9.7~beta6+matrix.1.zip

This has solved my problem - thank you!

nroets1 commented 1 year ago

Just to inform. I have updated from beta3 to beta6. All working on Android MiBox S and also on Linux Ubuntu and openSuse Tumbleweed. Thanks for a great add-on.

Vichman67 commented 1 year ago

New news!!!

I can confirm that the following beta versions solved the problem on my systems:

It seems those beta versions are fully functional on those systems, so I'll wait for the new stable version of the add-on.

Thanks a million for all your hard work!

polocatfan commented 1 year ago

@rocktobe I assume you have libreelec 9.2.8. in this case, you need to downgrade the file addon.xml to the one from the previous version:

  • Download the current version of the code from github, extract it.
  • Download v 0.9.7 and extract it
  • Replace addon.xml in the 0.9.7 version from the one in xbmc-master\plugin.video.amazon-test
  • Recreate the v 0.9.7 archive (keepin plugin.video.amazon-test folder)

You can now install it.

EDIT: I uploaded the archive with the old addon.xml plugin.video.amazon-test-0.9.7.beta.with.old.addon.zip

same issue. tried every single zip. I'm on Nexus. It spits out a dependency error no matter what I try...

Sandmann79 commented 1 year ago

So there are the next beta round to test: plugin.video.amazon-test-0.9.7~beta7+matrix.1.zip plugin.video.amazon-test-0.9.7~beta7+leia.zip

Changelog to beta6:

As always, if you encounter any error upload logs

Vichman67 commented 1 year ago

Tests on my systems proceeded with success:

But I've had no chance to check if the issues in the changelog where solved cause I didn't experience such problems.

Thanks a million!

dtechniker commented 1 year ago

Big thanks to Sandmann79. On Raspi 4 with LibreELEC 9.2 and Kodi 18.9 (Leia).

I push the controller and i watch Amazon.

MauriceW67 commented 1 year ago

@Sandmann79 In beta 7, will 4K still only work on Amazon TLDs or should it also work on the PrimeVide.com TLD now?

See here: https://github.com/Sandmann79/xbmc/issues/632

Sandmann79 commented 1 year ago

@MauriceW67 unfortunately, I can not test if 4K works for PV users. However, in my tests with a PV account, the device was registered with Amazon. This had already worked in the older versions, only the generated web cookie for catalog display was invalid. This is now valid again (until Amazon changes something). So just try it and backup/rename the accounts.lst from the config folder before.

MauriceW67 commented 1 year ago

@Sandmann79 Just did a quick test with beta 7 and I'm happy to report that 4K playback now works with my Dutch PV account, so thanks for that. I guess that other issue that I mentioned can be closed now 😄

Also, I did not have to solve any captcha's when logging in. Maybe it helps if you have 2FA enabled on your Amazon account? All I needed to do after typing in my password was to input the OTP passcode from my authenticator app.

Varstahl commented 1 year ago

@Sandmann79 Just did a quick test with beta 7 and I'm happy to report that 4K playback now works with my Dutch PV account, so thanks for that. I guess that other issue that I mentioned can be closed now 😄

That's great news, thanks for reporting 🎉

Also, I did not have to solve any captcha's when logging in. Maybe it helps if you have 2FA enabled on your Amazon account? All I needed to do after typing in my password was to input the OTP passcode from my authenticator app.

This is highly dependant on a number of factors. Sometimes it doesn't ask you anything, sometimes it really doesn't want you through.

Qubits01 commented 1 year ago

Hi,

I'm running Kodi 19.5 with osmc on a raspberry pi3 using latest beta7 matrix.1 build.

When starting a stream from prime, osmc crashes (sad smiley face screen)

here's the log: log

All seems to be working until the playback is initialized. That's the complete log. next log entries are from kodi reinitialization.

Varstahl commented 1 year ago

All seems to be working until the playback is initialized. That's the complete log. next log entries are from kodi reinitialization.

That's a cut of the logs and therefore not complete. Regardless as soon as it leaves the addon, the fault relies on the system/hardware.

As I said many times in the past to the point of sounding like a broken record, if you have problems with OSMC try LibreElec, if you can.

pmsobrado commented 1 year ago
* option to register device for 4k playback on Android at settings > connection. Please enable it only if you need 4k playback, you have to solve at least 3 captchas and it may fail.

So, my spanish account can finally play 4K/HDR. But for some reason, the video is stuttering a lot. I've tried different refresh rates, although Kodi auto changes it according to the content (I've tried playing "The Boys" and the resolution auto changes to 2160p/24. The stuttering does not happen on other addons using Input stream, like Netflix or Disney+ (on Kodi, I mean). It also does not happen on the official Prime Video app.

Not sure if it's because of the addon or not. Does anyone else have the same problem? My device is a Fire TV 4K Max. I've also tried changing the playback setting from Input Stream to Android, same problem.

Thanks!

thackel commented 1 year ago

Until the new beta-7 it was not possible to browse the watchlist or any content. With plugin.video.amazon-test-0.9.7~beta7+matrix.1.zip this is again working. Thanks!

But starting any video playback results in a segfault of kodi.

I attached the crash log: kodi_crashlog-20230422_203438.log

Qubits01 commented 1 year ago

As I said many times in the past to the point of sounding like a broken record, if you have problems with OSMC try LibreElec, if you can.

Thanks, I can confirm it works with the latest version of LibreElec. The install from osmc was clean and fresh, too. So a warning to everyone else: With the latest image for raspi3 (Jan 2023) osmc will not work.

Jkraje commented 1 year ago

OS: LibreELEC 11.0.1 // Kodi 20.1 // Region: Germany // beta7+matrix.1.zip

Can confirm working on Kodi Nexus like a charm.

Found out something I couldn't find in here:

If I put something on my watchlist using my android-smartphone or the notebook, it might not work to start it trough the watchlist on Kodi.

Example: I added "LOL-Last One Laughin (German)" on my android-smartphone to my watchlist. Of 4 Seasons only the first one was possible to start with Kodi and it only startet in 480p. Season 2-4 only created execptions. After I added "LOL" to my watchlist using Kodi, everything worked fine. Even the solution was 1080p.

Tanks very much for your work!

m-stoev commented 1 year ago

Sorry to say it, but I have same problem with v 1.0.4 and Kodi 19.5. PS - I using it on CoreElec 19.5, but when change Data Source -> Data Source to Android it start works.

Sandmann79 commented 1 year ago

@m-stoev please do not post on closed issues. Create a new issue with a meaningful log if you are using the current stable version 1.0.0 (1.0.4 is the repo).