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 193 forks source link

Cant search or access to listed movies and TV shows, only featured #656

Closed MrCoolAndroid closed 1 year ago

MrCoolAndroid commented 1 year ago

Addon used

Account type

System Setup (please provide the following information):

Upload Logs

https://pastebin.com/Gh8yqQhB

Describe the bug

Whenever i try to search something or see listed movies or TV shows like from categories it always throws an error, but when you see featured movies it works normally and you can watch normally, for the debug log i tried searching, it throws the same error for listed movies and TV Shows, something like this: screenshot00000 Like if it cant access to something from the API, weird

Varstahl commented 1 year ago

Kodi can cache the versions of the repositories/addons, so there's 3 options:

  1. wait 24 hours from the last time Kodi updated everything
  2. clear the cache and force Kodi to refetch the addons list (this works, but I don't remember how it's executed)
  3. install it manually
MrCoolAndroid commented 1 year ago

Alrighty

MrCoolAndroid commented 1 year ago

Can confirm that searching works on my region!(Argentina), ~i will try searching on categories and stuff like that and edit this post~ it works! No problems for now Using 0.9.6 (latest that my Kodi was able to fetch)

Necdilzor commented 1 year ago

Can confirm that searching works on my region!(Argentina), ~i will try searching on categories and stuff like that and edit this post~ it works! No problems for now Using 0.9.6 (latest that my Kodi was able to fetch)

Same here! Version 0.9.6 is working for me now in Argentina too. Thanks for the update!

knappster1 commented 1 year ago

Thanks, but France falls under PrimeVideo itself. The only ones who'd have it kinda different would be DE/JP/UK/US, which is why I asked the info to Germans :)

@Varstahl, thanks for all of the work you have done on this addon over the years. I understand you are asking for someone in Germany for the information from developer tools, but I also see you mentioned US being different from primevideo. Would it be helpful if I send you the results from the US? If so, should I post it on GitHub or send you a private message on Kodi forums?

Thanks again for your efforts!

Varstahl commented 1 year ago

@knappster1 yes, absolutely. I just asked for Germans because a couple Germans reported the issue first, but US accounts should work as well. As for the logs, you can attach it here or send it in a PM on the forums, however you like.

knappster1 commented 1 year ago

@Varstahl, I looked, but unfortunately did not see anything. It did not see the infiniload either. I will try to take a short video so you can see the behavior and scroll through the resource names and send you a link.

dtechniker commented 1 year ago

So I'm in Germany and also have the problem. In German there seems to be no search. My Opera/edge gives me this link: (This is the only link with startIndex)

https://www.amazon.de/gp/video/api/storefront/ref=atv_hm_nxt_2?startIndex=7&targetId=V2%3D4AEA6u69gYPeuYe-toZwYWdlSWSIcGFnZVR5cGWMY29sbGVjdGlvbklkiHdpZGdldElkjo5zd2lmdElkVmVyc2lvbt6UioRob21li4Rob21ljA-ND46CVjI%3D&decorationScheme=web-decoration-asin-v4&dynamicFeatures=integration&dynamicFeatures=CLIENT_DECORATION_ENABLE_DAAPI&dynamicFeatures=ENABLE_DRAPER_CONTENT&dynamicFeatures=HorizontalPagination&serviceToken=eyJ0eXBlIjoidnBhZ2UiLCJuYXYiOmZhbHNlLCJzZWMiOiJjZW50ZXIiLCJwcmlkIjoiYTQyNDdlMGEtZTJiZi00MjBjLTgwMmEtZDcxZDAyOWZkNzRlIiwicnQiOiIzIiwiZmlsdGVyIjp7IlBSSU1FIjpbXX0sInJhbmsiOiJINHNJQUFBQUFBQUFBQ1dSUjVhRU1BeEVMelFMSEhDWW5RTVkweVFiSjN6L2c4eWdYdW8vVlVrcW9WK2tSTFFQRmlpYVpIN1FMK0xVT3BtUENXdFczeG90Zk5Sb2Q2YmNVcndBSjE3UDIxbk1jb0VPRytmbGttM1Y5elJEZzVhWkMyNU1tK3NJRmpYY2NkUTNyV2pITDdqaWVOTkY5Mm5QTUJQdFZWV013eUphU1dDQnVuR2RUbnl4bzNzQm1mSmkxc3NuRkx5SGpzS3lMczJMRXhQd3hBOGhjc00ySFBPQlh1RE1yUm9wazA3ekFrUHlrL0lkK3RDU0F3dlVxandHZnM1cXUrRXk1SkZoclZvVlovMWRRMkk3ZSt0NklpMitJT250dXVscS9KMEdhQmlQUGJBTmNSUlllMEVSNnI3OXhiRG9LK3lOdVNpcnRZTjlUdmtDaGwwa0NyZTFtQk1jY3B4U0NiWU1ReU9ndURCN1FrR0R1WFQ1cmpuTG9CMG0xSFlZU2xEelpFU2luYnVFZ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wLC00OTEyNTYwODU5NjAyMjQ3OTk5LDYxMjEzMDEwMDUzMTE0Mjc4MzUsLTY3Mjg3MDgxNzEwNzcxMDY2NDIsNDgxNTc3MjM0MTc3MTE5NDE1NCwtNjI1MzkyNTY3MTU3Njc1MTIzNiwzMjI0Njg1NzQ3Njk5MDA5NzAwLC04OTM2Mzk2MTM4MDQ0NTIzMjgyLDUwMzMwNDEyMzY5NzY5NDYxMzIsLTcwOTM3MDY3MDkwOTk0MDQyODUsNDIyODQ4Mjk0NjgwMzYxNDk4NCwtODY4NjQ0MDA0MTg2NjY5MTAwNCw0NzEzMTYxNzIzNTgyMTA0MzM0LC03NzE0NTA1NzMxOTU1MDY5ODMyXX0%3D&variant=desktopWindows&featureScheme=web-features-v5&actionScheme=default&pageSize=14&widgetScheme=web-explore-v1&contentId=home&contentType=home&pageNumber=2

dtechniker commented 1 year ago

Im Kodi (18.9) log:

2022-12-01 08:33:40.849 T:2721989440 NOTICE: [Amazon VOD] Service: Proxy server stopped 2022-12-01 08:33:40.850 T:2721989440 NOTICE: [Amazon VOD] Service stopped 2022-12-01 08:33:40.869 T:2721989440 WARNING: CPythonInvoker(68, /storage/.kodi/addons/plugin.video.amazon-test/service.py): the python script "/storage/.kodi/addons/plugin.video.amazon-test/service.py" has left several classes in memory that we couldn't clean up. The classes include: N14PythonBindings31XBMCAddon_xbmc_Monitor_DirectorE,N9XBMCAddon7xbmcgui6DialogE,N9XBMCAddon9xbmcaddon5AddonE

yoshimo commented 1 year ago

Search Term panama

https://completion.amazon.de/api/2017/suggestions?limit=11&prefix=panama&suggestion-type=WIDGET%2CKEYWORD&page-type=ATVHome&alias=instant-video&site-variant=desktop&version=3&event=onkeypress&wc=&lop=de_DE&last-prefix=pana&avg-ks-time=384&fb=1&session-id=260--&request-id=2222&mid=A1PA6,...R9&plain-mid=4&client-info=amazon-search-ui

https://www.amazon.de/s/ref=nb_sb_noss_1?__mk_de_DE=ÅMÅŽÕÑ&url=search-alias=instant-video&field-keywords=panama&crid=XASDASDAS&sprefix=panama,instant-video,114

when you reach the end of the page the last non image request is

https://www.amazon.de/s/query?__mk_de_DE=ÅMÅŽÕÑ&crid=XARAQ&i=instant-video&k=panama&page=3&ref=sr_pg_2&sprefix=panama,instant-video,114

schlumpf1986 commented 1 year ago

@Varstahl: "I need someone in Germany to do me a favor" I am from germany and would love to do your the favor. Unfortunately, I am not able to do a search on primevideo.com

When I access primevideo.com, I get automatically forwarded to: amazon.de/Amazon-Video I can do a search there, but the searchDefault-Item doesn't appear in the list.

Varstahl commented 1 year ago

Yeah, because I'm a moron, I made a typo, and didn't realise. I meant do everything that was written if you're able to, but not on primevideo.com but rather on the website you access amazon content from. 🤦‍♂️

Sorry for the misunderstanding, I'm getting annihilated by fever from a week, slowly going insane.

Edit: I guess the results would be similar to this https://github.com/Sandmann79/xbmc/issues/656#issuecomment-1335719310 So yeah, I think amazon changed the APIs again. What a time to be alive not dead…

schlumpf1986 commented 1 year ago

Searchterm: abc browser line: https://www.amazon.de/s?k=abc&i=instant-video&__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&crid=6IFIN5V0F0JX&sprefix=abc%2Cinstant-video%2C194&ref=nb_sb_noss_1

After Scrolling down to the end of the page:

first xhr: https://www.amazon.de/s/query?__mk_de_DE=ÅMÅŽÕÑ&crid=6IFIN5V0F0JX&i=instant-video&k=abc&page=2&qid=1670532162&ref=sr_pg_1&sprefix=abc,instant-video,194

second xhr: https://www.amazon.de/hz/rhf?currentPageType=Search&currentSubPageType=List&excludeAsin=&fieldKeywords=abc&k=&keywords=&search=&auditEnabled=&previewCampaigns=&forceWidgets=&searchAlias=&isAUI=1&cardJSPresent=true&pageUrl=/s

Get well soon!

eggbeater98 commented 1 year ago

@Varstahl I hope you're doing well! I'm having the same issue using OSMC on an RPi in the US. If there's anything I can do to help troubleshoot, please let me know.

Varstahl commented 1 year ago

@Varstahl I hope you're doing well!

Had a massive server outage and raid metadata failure that took 3 full days to recover. Send help (or booze) ç_ç