-
-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Long initial loading times over large number of pages #561
Comments
Just to confirm, I'm trying to access it from Canada and can provide a log if someone is able to confirm this is a bug and not just expected behaviour. |
To be loading for a while the first time is normal, but 12400+ pages is totally not. In the addon settings you can force pagination for the main categories, to mitigate your issues. That's the first I hear of it, it might be just Amazon doing weird things on some of their servers, I'm unsure. |
Yeah, I figured that was an insane number of pages. I had set it to paginate 250 items per page before starting because it was taking a while during the first run as well. I let it run when I went to bed and just checked it again, it's at 27000+ pages now so I'm just going to cancel it and submit an error log. |
here's the kodi log: https://paste.kodi.tv/usebonuhub I'm not sure how useful it'll be since I didn't think to turn on verbose logging or debugging options. I'm seeing some things related to the amaon addon though so maybe there's something useful in there. I can clear the cache and start it again with debugging on if needed. |
@Varstahl checked this issue for amazon.tld and it seems that But i don't know if this is related to this issue here, because i'm getting an connection error and not infinite loading times. |
I'm having the same issue. I'm not sure what the expected behaviour is, but I'm not getting 307 and an empty response; The json files in the cache all contain data and are ~1MB in size. Each json file is different, so it's not like it is re-downloading the same data over and over. Obviously it should run out of data at some point, but it does seem to just continue forever. I can try to post a cache file if anyone thinks that will be useful. excerpt from verbose logging: https://paste.kodi.tv/adequsewet.kodi |
@jgaudet if you compare the urls in your log, you'll see that the queries are always the same (except serviceToken). So its basicly downloads the same url every time. If you want, you can test the attached network.py (remove the txt extension): |
Updating the network.py file to the one above worked! So weird - the json files are different sizes and I did a diff on a few pairs and they were way different. |
Hi reading the posts above I deduce that a solution to infinite loading has been found, I just can't figure out what I should do to get the add on working again. It would be possible to have some more detailed explanation thanks. |
That did the trick for me as well. Thank you very much @Sandmann79 and @brainfork |
Thanks, now work good... |
Thanks for testing. |
@Sandmann79 you are correct, it was previously only loading one page for a video list. I've update the primevideo.py file and it appears to be loading multiple pages again. |
Thanks for the fast response, i'll integrate this in the next update. Should be released in a few hours. |
fixed with release d3bab8a |
Addon used
Account type
System Setup (please provide the following information):
Upload Logs
Describe the bug
I'm not sure if this is a bug but I was hoping to get some clarification about how this addon works. I recently installed it on my system and have logged in using my Amazon Prime account. I went to access the "Included With Prime" category which resulted in the a loading spinner and a series of messages indicating that new pages are being loaded. It's been doing this for the last 7 hours and it's now on page 12404. Is this expected behaviour and if so how much time/many pages should I be anticipating before completion?
I had also loaded it up earlier and did the same thing indicated in #501 (abort loading, receive error, videos seem to be loaded) but I found that I was missing categories such as "Recently Added TV" and figured I'd try resetting the cache and letting it run in full to see if that resulted in all the content loading as expected. Does cancelling the loading process have any negative effects, such as corrupted caches or any other issues? Is this a useable workaround for the extended page loading?
The text was updated successfully, but these errors were encountered: