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

xaviron commented 1 year ago

It works perfect! Thank you👏👏👏

El jue, 9 mar 2023 12:33, Sandmann79 @.***> escribió:

Attached are the next betas for Leia / Matrix and above for testing. Changes:

  • Watchlist export possible again
  • all categories/menu items available
  • wrong import for Leia fixed

plugin.video.amazon-test-0.9.7~beta+leia.zip https://github.com/Sandmann79/xbmc/files/10930890/plugin.video.amazon-test-0.9.7.beta%2Bleia.zip plugin.video.amazon-test-0.9.7~beta+matrix.1.zip https://github.com/Sandmann79/xbmc/files/10930892/plugin.video.amazon-test-0.9.7.beta%2Bmatrix.1.zip

Please report only bugs related to this issue here. For all other bugs create a new one or post in an existing one. As before, please provide logs for bugs.

— Reply to this email directly, view it on GitHub https://github.com/Sandmann79/xbmc/issues/674#issuecomment-1461857881, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7BBQPKRIRCAT7XHY442O3W3G5XNANCNFSM6AAAAAAVK2MJS4 . You are receiving this because you authored the thread.Message ID: @.***>

Forlorn-Hope commented 1 year ago

@Sandmann79 Hi, I installed this Matrix beta on Kodi 20 and I keep getting an error when I want to view My stuff (i have PrimeVideo)

Librelec 11.0/Kodi 20.0 Intel Nuc Amazon Prime US kodi.log

In testing things I am able to install with no issues. I cleared both caches, and did a reboot. When I launch the plugin, it connects and I see all my regular folders. When I select My Stuff > Watchlist > TV shows, it thinks for a bit, then a quick error scrolls by stating that the servers returned no content, and finally says check the log file. When I select My Stuff > Watchlist > Movies, it is a little different. After the first reboot, it stated the same thing as with the TV shows, but then it does list some Movies that I have in my list, but just a single page. If I select the next page, it is empty. The same goes for if I select My Stuff > Watchlist > All. It will only show 1 page of items.

If there is any additional information I can provide, let me know.

Sandmann79 commented 1 year ago

@Forlorn-Hope: can you please test if the following URL displays your tv shows watchlist: https://www.amazon.com/gp/video/mystuff/watchlist/tv If so, please attach the HTML source code from the page here. Don't forget to remove your Amazon name from the file if you don't want everyone to know it.

Forlorn-Hope commented 1 year ago

@Forlorn-Hope: can you please test if the following URL displays your tv shows watchlist: https://www.amazon.com/gp/video/mystuff/watchlist/tv If so, please attach the HTML source code from the page here. Don't forget to remove your Amazon name from the file if you don't want everyone to know it.

Sorry for the delay; just got off work. Did you wish the source from a browser in on Kodi, or from my workstation?

Forlorn-Hope commented 1 year ago

can you please test if the following URL displays your tv shows watchlist: https://www.amazon.com/gp/video/mystuff/watchlist/tv If so, please attach the HTML source code from the page here. Don't forget to remove your Amazon name from the file if you don't want everyone to know it.

Here is the source from my workstation: https __www.amazon.com_gp_video_mystuff_watchlist_tv.txt

jlcueto commented 1 year ago

Attached are the next betas for Leia / Matrix and above for testing. Changes:

  • Watchlist export possible again
  • all categories/menu items available
  • wrong import for Leia fixed

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

Please report only bugs related to this issue here. For all other bugs create a new one or post in an existing one. As before, please provide logs for bug

It resolved the problem and everything is working. The only issue is the first login verification would fail twice before providing the correct verification screen.

ChrisTG742 commented 1 year ago

plugin.video.amazon-test-0.9.7~beta+matrix.1.zip works perfectly here in Libreelec 10.0.4 (Kodi 19.5). Just installed it by "Install from ZIP" right over the old version.

nroets1 commented 1 year ago

All working on Kodi 20 nexus except My Stuff always gives error. On kubuntu, openSuse tumbleweed and also on Android MiBox S.

Edit: 13-03-2023 The cache clearing option is also not availabe anymore in the beta update. My Stuff not working and watchlist also does not export. Hope we see an update soon.

In any case, thank you very much for this addon!!

Sandmann79 commented 1 year ago

@GG-76 & @nroets1 as i wrote above, i need the logs in case of error. At least the kodi.log and the country your account belongs to. The primevideo settings has been moved to the data source section.

@Forlorn-Hope checked your source, but it contains the json part which the addon processes. Contrary to the entry in your kodi.log, where no json part is found on the same page. So it's hard to help, as I can't reproduce the error either.

MadEarl commented 1 year ago

I can confirm the latest beta fixes the problem on Leia. As instructed, all caches need to be cleaned. Thanks to everyone who helped getting this fixed!

Gemini88 commented 1 year ago

@nroets1 thats weird I still have this option in 0.9.7 beta under (data source)

GG-76 commented 1 year ago

@GG-76 & @nroets1 as i wrote above, i need the logs in case of error. At least the kodi.log and the country your account belongs to. The primevideo settings has been moved to the data source section.

@Forlorn-Hope checked your source, but it contains the json part which the addon processes. Contrary to the entry in your kodi.log, where no json part is found on the same page. So it's hard to help, as I can't reproduce the error either.

@Sandmann79 Hi, here is my
kodi.log and my primevideo account is from Czech Republic. So i hope it helps

nroets1 commented 1 year ago

@GG-76 & @nroets1 as i wrote above, i need the logs in case of error. At least the kodi.log and the country your account belongs to. The primevideo settings has been moved to the data source section.

@Forlorn-Hope checked your source, but it contains the json part which the addon processes. Contrary to the entry in your kodi.log, where no json part is found on the same page. So it's hard to help, as I can't reproduce the error either.

Attached the two JSON files (zipped) and also my kodi log. I'm from South Africa. kodi.log 20230314_1716434.zip

nroets1 commented 1 year ago

@nroets1 thats weird I still have this option in 0.9.7 beta under (data source)

I've found it, thanks.

Gemini88 commented 1 year ago

@nroets1 your welcome brother anytime

DaSpors commented 1 year ago

Latest beta works like charm. Thank you!

Sandmann79 commented 1 year ago

@GG-76 @nroets1 thanks for logs. Tomorrow at the latest comes an update which should fix this error.

mconrado commented 1 year ago

plugin.video.amazon-test-0.9.7~beta+matrix.1.zip works perfectly here in Libreelec 10.0.4 (Kodi 19.5). Just installed it by "Install from ZIP" right over the old version.

me too! kodi 20.1 ubuntu 20.04

Air-w0lf commented 1 year ago

Is anyone going to push the fixes to the repository so that we can automatically update?

Sandmann79 commented 1 year ago

As announced, the new betas to test:

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

Important note: beginning with this beta and in feature releases all addon generated logs will be saved to userdata/addon_data/plugin.video.amazon-test/log. There's now an option to create an archive of all logs, including kodi.log, available at settings -> miscellaneous.

@Forlorn-Hope at settings -> miscellaneous there's also an option to log the HTTP response. Please enable it and attach the log here.

@GG-76 @nroets1 please report, if this beta fix your issue

nroets1 commented 1 year ago

As announced, the new betas to test:

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

Important note: beginning with this beta and in feature releases all addon generated logs will be saved to userdata/addon_data/plugin.video.amazon-test/log. There's now an option to create an archive of all logs, including kodi.log, available at settings -> miscellaneous.

@Forlorn-Hope at settings -> miscellaneous there's also an option to log the HTTP response. Please enable it and attach the log here.

@GG-76 @nroets1 please report, if this beta fix your issue

Much appreciated!! Working 100% with kodi 20 nexus on linux and Android Mi Box S (PrimeVideo South Africa)

Forlorn-Hope commented 1 year ago

As announced, the new betas to test:

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

Important note: beginning with this beta and in feature releases all addon generated logs will be saved to userdata/addon_data/plugin.video.amazon-test/log. There's now an option to create an archive of all logs, including kodi.log, available at settings -> miscellaneous.

@Forlorn-Hope at settings -> miscellaneous there's also an option to log the HTTP response. Please enable it and attach the log here.

@GG-76 @nroets1 please report, if this beta fix your issue

Thank you for your ongoing assistance. My issue persists. I am only able to get just one page of items. In attempting to attach the archive here, I get an error that "File size too big: 25 MB are allowed, 52 MB were attempted to upload." Try this link : https://drive.google.com/file/d/1EoplWGCckGvZpH8PW9yN8j10NncOmszn/view?usp=sharing

nroets1 commented 1 year ago

I have tested the Matrix beta on Kodi nexus 20 and 20.1, Linux and android both working 100%.

On 20 Mar 2023, 23:00, at 23:00, michnixweiss @.***> wrote:

As announced, the new betas to test:

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

Important note: beginning with this beta and in feature releases all addon generated logs will be saved to userdata/addon_data/plugin.video.amazon-test/log. There's now an option to create an archive of all logs, including kodi.log, available at settings -> miscellaneous.

@Forlorn-Hope at settings -> miscellaneous there's also an option to log the HTTP response. Please enable it and attach the log here.

@GG-76 @nroets1 please report, if this beta fix your issue

Thank you for your ongoing assistance. My issue persists. I am only able to get just one page of items. In attempting to attach the archive here, I get an error that "File size too big: 25 MB are allowed, 52 MB were attempted to upload." Try this link : https://drive.google.com/file/d/1EoplWGCckGvZpH8PW9yN8j10NncOmszn/view?usp=sharing

Maybe your version is the problem. You are using Kodi 20 (Nexus) ATM there are only betas for Leia and Matrix

-- Reply to this email directly or view it on GitHub: https://github.com/Sandmann79/xbmc/issues/674#issuecomment-1476927757 You are receiving this because you were mentioned.

Message ID: @.***>

Forlorn-Hope commented 1 year ago

@michnixweiss

Maybe your version is the problem. You are using Kodi 20 (Nexus) ATM there are only betas for Leia and Matrix

The issue began before I upgraded. In particular, it started when Amazon updated their Prime Video page to a new browser format. Others also had an issue after that as well. The plug-in is still usable, but I can only see 1 page of items items from "My Stuff".

GG-76 commented 1 year ago

As announced, the new betas to test:

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

Important note: beginning with this beta and in feature releases all addon generated logs will be saved to userdata/addon_data/plugin.video.amazon-test/log. There's now an option to create an archive of all logs, including kodi.log, available at settings -> miscellaneous.

@Forlorn-Hope at settings -> miscellaneous there's also an option to log the HTTP response. Please enable it and attach the log here.

@GG-76 @nroets1 please report, if this beta fix your issue

@Sandmann79 Hi, thank you for your fix. Now I have My Stuff available as well and everything seems to be working including exporting to the library.

Forlorn-Hope commented 1 year ago

@Forlorn-Hope at settings -> miscellaneous there's also an option to log the HTTP response. Please enable it and attach the log here.

Here is a new set of log files. I rebooted, and toggled the HTTP option. The file is MUCH smaller now. I do see that there are 250+ JSON files in that directory.

logfiles_20230323-161106.zip

Sandmann79 commented 1 year ago

Thanks again for the logs @Forlorn-Hope. This issue should have been fixed with 831e9be.

Forlorn-Hope commented 1 year ago

Thanks again for the logs @Forlorn-Hope. This issue should have been fixed with 831e9be.

Thank you for the update. I looked at the modified resource files and updated them accordingly. Rebooted, cleared the cache (both), and rebooted again.

I can report that there is some progress. When I go to the next/second page, I now have an option to go to the next page, which wasn't there before, but there are no other items displayed. I can go to the next page, and so forth; so it knows that I have 4 pages worth of items, but it is not displaying them for some reason. I can tell that the items are being cached, because the wheel spins for a bit the first time it attempts to retrieve data. I have attached the log files that it generate logfiles_20230324-165536.zip d.

Forlorn-Hope commented 1 year ago

Thank you for the update. I looked at the modified resource files and updated them accordingly. Rebooted, cleared the cache (both), and rebooted again.

I can report that there is some progress. When I go to the next/second page, I now have an option to go to the next page, which wasn't there before, but there are no other items displayed. I can go to the next page, and so forth; so it knows that I have 4 pages worth of items, but it is not displaying them for some reason. I can tell that the items are being cached, because the wheel spins for a bit the first time it attempts to retrieve data. I have attached the log files that it generated in the github thread.

I see that the issue has been closed.  Guess I am the hardcase.  I can wait till the next beta is released to see if things all come together.

Thanks

From: Sandmann79 @.> Reply-To: Sandmann79/xbmc @.> Date: Friday, March 24, 2023 at 11:59 AM To: Sandmann79/xbmc @.> Cc: Forlorn-Hope @.>, Mention @.***> Subject: Re: [Sandmann79/xbmc] Unable to find the navigation menu for primevideo.com (Issue #674)

Thanks again for the logs @Forlorn-Hope. This issue should have been fixed with 831e9be.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

Sandmann79 commented 1 year ago

Here, unfortunately, for now the next beta to test: plugin.video.amazon-test-0.9.7~beta5+leia.zip plugin.video.amazon-test-0.9.7~beta5+matrix.1.zip

There is currently an bug in beta 4, which means that the addon cannot be started unless you log in again. Unless you want to log in again, you should stay on beta 3. I'll provide an fix asap. Fixed with Beta 5

Changelog:

Forlorn-Hope commented 1 year ago

Huzzah!!!  I can confirm that the pagination now works.  All the content is being displayed.

Thank you very much for all your hard work!  I’ll go away now and leave you alone…..

From: Sandmann79 @.> Reply-To: Sandmann79/xbmc @.> Date: Tuesday, March 28, 2023 at 4:36 PM To: Sandmann79/xbmc @.> Cc: Forlorn-Hope @.>, Mention @.***> Subject: Re: [Sandmann79/xbmc] Unable to find the navigation menu for primevideo.com (Issue #674)

Here, unfortunately, for now the next beta to test: plugin.video.amazon-test-0.9.7~beta4+leia.zip plugin.video.amazon-test-0.9.7~beta4+matrix.1.zip

Changelog: content should now be displayed completely, as reported by @Forlorn-Hope login should work at least for amazon.tld accounts (as known, can't test for pv users) — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

MCjasiux commented 1 year ago

Hi, I am having the same problem on OSMC 19.5, Raspberry Pi 3. Tried beta4 and beta5. I can send more logs if needed. kodi.log

Sandmann79 commented 1 year ago

@MCjasiux: yes, please upload 20230331_130401566108_0.json and 20230331_130401605540_1.json.

MCjasiux commented 1 year ago

should I censor any tokens or IDs?

Sandmann79 commented 1 year ago

You can remove your name from the profile section, but please leave the json structure intact.

MCjasiux commented 1 year ago

@Sandmann79 here's en entire zip. logfiles_20230331-130905.zip

teryram commented 1 year ago

As announced, the new betas to test: plugin.video.amazon-test-0.9.7~beta3+leia.zip plugin.video.amazon-test-0.9.7~beta3+matrix.1.zip Important note: beginning with this beta and in feature releases all addon generated logs will be saved to userdata/addon_data/plugin.video.amazon-test/log. There's now an option to create an archive of all logs, including kodi.log, available at settings -> miscellaneous. @Forlorn-Hope at settings -> miscellaneous there's also an option to log the HTTP response. Please enable it and attach the log here. @GG-76 @nroets1 please report, if this beta fix your issue

Much appreciated!! Working 100% with kodi 20 nexus on linux and Android Mi Box S (PrimeVideo South Africa)

I can confirm that works fine an rpi4, linux-kodi nexus

AxelG-DE commented 1 year ago

I ran into this "unable to find the navigation..." all over sudden on april 1st 2023 with a nuc11 and libreelec 11.0.0 as well as 11.0.1 Version 0.9.6+matrix

Clearing cache did not help, so cannot use amozon.vod at all. (not mentioning that entering any of the folders mostly threw an error and only search-function worked and let me watch)

yrp888 commented 1 year ago

I had been having problems on my 2 NUC8 LibreElec 19.5 boxes, no content showed up other than a category Kids.

Yesterday I tried installing Beta5 on them but while the folders/categories would appear playback failed with an HTTP Error.

Today I ran up Beta5 on my RPi4/LibreElec 19.5, logged in, cleared both caches, and also cannot play anything.

RPi4 Log attached.

kodi_crashlog_20230404163534.zip

dtechniker commented 1 year ago

I have the same error message: HTTP Error.

robustini commented 1 year ago

Same error with ß5, ß3 work fine.

MrCoolAndroid commented 1 year ago

I have this error and HTTP error when playing from library

ducarpit commented 1 year ago

Hi, is there a simple way to know which is the latest stable versione and the latest beta version? Such as a txt file or a README file or a URL.... probably the latest stable is the 0.9.6 version and the 0.9.7 beta5 the latest beta version, but it's hard to know this without reading all the issue topics....

grahammccann commented 1 year ago

The beta works perfectly including bringing back searches.

Sandmann79 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

cyr06 commented 1 year ago

yes !! I can access to my stuff and then play it !! thanks

maybe you can update the dependancies to make it perfect :

script.module.beautifulsoup4-4.9.3+matrix.1.zip
script.module.mechanicalsoup-1.0.0+matrix.1.zip
script.module.pyautogui-0.9.51+matrix.1.zip

I had this message when logged : logged in as href="/region/eu/profiles/ref=atv_pr_cr_nv

ksooo commented 1 year ago

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.

Oh really? No way to make usage of old login optional?

dtechniker commented 1 year ago

Unfortunately, my result is still not better. I still have the same error message: HTTP Error. login works. Menu navigation works. As soon as a series or a video should be played: HTTP Error

I used a P3 with: plugin.video.amazon-test-0.9.7~beta6+leia.zip

Sandmann79 commented 1 year ago

@cyr06: Will be fixed in the final version.

@ksooo: That may have been a little misleading. If everything works for you, you don't need to log in again and can continue to watch 4K content. This is meant to be an interim solution for now, so that a working final version can be released.

@dtechniker Have a look at that

Sandmann79 commented 1 year ago

@dtechniker can you please upload logs? I thought I had seen some somewhere, but I must have been mistaken.