Kodi Community Forum
Release Amazon VOD [plugin.video.amazon[vod|-test]] - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
---- Thread: Release Amazon VOD [plugin.video.amazon[vod|-test]] (/showthread.php?tid=349255)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33


Amazon VOD [plugin.video.amazon[vod|-test]] - Varstahl - 2019-11-15

Image

Not affiliated with Amazon. Amazon, Prime, Amazon Prime and Prime Video are registered trademarks of Amazon Technologies, inc.

This addon supports Prime Video account for Germany, Japan, United Kingdom, United States (referred to as amazon.TLDs or TLDs) and all the countries served by PrimeVideo.com (PV).

Kodi 17+ and python 2.7 & 3 support. Kodi 18+ with InputStream.Adaptive recommended.

Stable: v0.8.5
Addon: plugin.video.amazonvod (not yet in Kodi repos)
Nightly: plugin.video.amazon-test
Nightly repo: GitHub Sandmann79/xbmc (direct links: Krypton/Leia, Matrix)

Captcha notice
Some of the captchas used by Amazon actually require you to put spaces in where blanks are present. Absence of spaces can actually invalidate an otherwise good challenge answer. Make sure to include spaces if needed.

Localisation (translations)
Is your language missing from our addon? Do you want to help? Follow this link to find information on how to help us.

Useful links
Readme (valuable information)
FAQ (solution to common troubles)
GH Wiki
issues (list of current open issues and enhancement requests)
File a new bug report

Recent changes (v0.8.5)
  • PV: fixed all the things Amazon broke
  • PV: added pagination options
  • TLD: fixed TV shows and watchlist
  • PV/TLD: updated localizations, added fr_CA

Known issues in stable
  • None Smile

Donations
Want to tip the creators of the addon and support its development?
Sandmann79 (author, DE/JP/US/UK support)
Varstahl (PrimeVideo author, international support)


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - Varstahl - 2019-11-15

[Reserved]


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - sanangel - 2019-11-16

Thanks for your work


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - debutanker - 2019-11-16

A huge thank you goes to you and sandmann for your great work and for keeping this cat and mouse game still alive - all kodi (and amazon prime video) users much appreciate that!


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - MetalChris - 2019-11-16

First of all, thanks for all the hard work that has been put into this add-on. Words cannot describe just how much better it is than the native Android app.

I was happily using version 0.7.4 without issue for several months. Sadly, it eventually stopped working. I upgraded to the beta of 0.7.5, but could not get it to work, so I was extremely happy to see a final release of 0.7.5 and installed it last night. Sadly, I've not been able to get this one to work either. I've uninstalled the add-on, rebooted my android box, and then re-installed, but still get the same results. Not being familiar enough with the code for this add-on, I'm unable to figure out what is going on, so I'm posting a log here in the hopes someone can see something I'm not catching, and understand it enough to offer suggestions or a solution (or workaround).

The add-on installs without issue. When starting the add-on it will prompt me to log in. I enter my username and password in Kodi, and shortly thereafter, the Amazon captcha is displayed. I re-enter my password, and enter the captcha code, and then get a dialog box with the same result every time:

Login Error: An error occurred when we tried to process your request. Rest assured, we're already working on the problem and expect to resolve it shortly.Go to Amazon.com'sHomePage

I'm at a loss. I've posted a log here, and debugging was turned on at 10:22 so you might want to scroll down to that point.

Hopefully there's an easy solution...


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - Varstahl - 2019-11-16

There's another user reporting the same (see issue #353). At the moment we do not know if this is a problem with our code or their servers, or both. What country are you accessing the server from?


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - MetalChris - 2019-11-16

(2019-11-16, 20:56)Varstahl Wrote: There's another user reporting the same (see issue #353). At the moment we do not know if this is a problem with our code or their servers, or both. What country are you accessing the server from?

That gave me an idea. I'm in the United States. I went to the add-on settings and selected United States as the region and tried to login 3 times, and it just gave me a wrong code error. I changed the region to North American and it let me log in. Now it gives me an error that it can't find the navigation menu for Prime Video. I changed the region back to auto, but it still doesn't find the navigation menu. Sorry, I didn't have debugging on when I tried this, but if you think it will help, I'll turn it on and try again and then upload another log.

Also, I can't seem to find where to disable 2 factor authentication to try and see if that makes a difference. Is that in the add-on settings or on the primevideo site?


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - Varstahl - 2019-11-16

If you're in the US PrimeVideo won't work, so that's perfectly normal. Somebody went onto amazon.com, enabled and disabled 2FA. These kinds of logins are pretty geolocalized so I don't really have an answer for you at this time.

@MetalChris that issue seems to be resolved. If you want to check, you can download the file network.py and replace it on the installed addon. You can find details of files and path locations on the Wiki FAQs on GitHub, if needed.


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - knappster - 2019-11-17

(2019-11-16, 22:04)Varstahl Wrote: If you're in the US PrimeVideo won't work, so that's perfectly normal. Somebody went onto amazon.com, enabled and disabled 2FA. These kinds of logins are pretty geolocalized so I don't really have an answer for you at this time.

@MetalChris I posted this issue onto github this morning:
https://github.com/Sandmann79/xbmc/issues/353

Sandmann79 added a commit which solved the issue for me:
https://github.com/Sandmann79/xbmc/commit/37519d05f2c32d16a65bcf3e5f5db0ddb96c2368

The zip file for that commit is: https://github.com/Sandmann79/xbmc/archive/37519d05f2c32d16a65bcf3e5f5db0ddb96c2368.zip

Amazing support from the addon developers.


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - Varstahl - 2019-11-17

Well, @knappster beat me on the reply, while I just edited the post above. In any case if you're using Amazon VOD you don't need to download the whole thing or repackage, just copy/paste the content of network.py and that should be good enough, the link is in my post above.


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - MetalChris - 2019-11-17

(2019-11-17, 02:47)Varstahl Wrote: Well, @knappster beat me on the reply, while I just edited the post above. In any case if you're using Amazon VOD you don't need to download the whole thing or repackage, just copy/paste the content of network.py and that should be good enough, the link is in my post above.

Bam! Zoom! Copying the updated network.py file fixed it. I had to remove the cookie and credentials and then sign in again. Can't seem to export any TV shows to my library, but I think might be due to the current TVDB issues. Movies export no problem.

Thanks for the quick fix! Cool


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - kitaro - 2019-11-17

Hello,

I apologize if this is the wrong place to ask this question or if this is a stupid question...but...If someone uses their credentials to their Amazon account to login to this add-on aren't they risking a security breach with their account since this is not an Amazon officlal or endorsed add-on?

I appreciate any useful feedback.

Thank you for your time and effort.


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - Varstahl - 2019-11-17

Well, that depends on what you mean by that. The login is done through TLS so no data is sniffable. The entirety of the login process is done through MechanizeLogin and Login, in the network.py file I linked above so you can check that. Also, past login you don't have them stored anyway, just the session cookies needed to access the video stream. So, to sum it up, the addon and Kodi act no different than any other browser.

If you're so inclined I guess you could just copy the useragent/cookies from a session of your browser and write them down along with the other necessary data in the file accounts.lst, where they are stored in JSON format.

If you have anything more specific, just ask.


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - docwra - 2019-11-17

Great thanks for the new thread, I've closed the old thread and directed everyone here.


RE: Amazon VOD [plugin.video.amazon[vod|-test]] - elkman - 2019-11-17

I get following error with the 2.0.5 amazon plugin

2019-11-17 21:23:02.792 T:956  NOTICE: [Amazon] Starting DBUpdate (1970-01-01 00:00:00 / 2019-11-17 21:23:02.789740)
2019-11-17 21:23:04.417 T:1001  NOTICE: [Amazon] Args: {'mode': 'appfeed', 'sitemode': 'updateAll'}
2019-11-17 21:23:04.498 T:1001   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'TypeError'>
                                            Error Contents: key: expected bytes or bytearray, but got 'str'
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.amazon/default.py", line 52, in <module>
                                                modes()
                                              File "/storage/.kodi/addons/plugin.video.amazon/default.py", line 48, in modes
                                                exec('import resources.lib.{} as sitemodule'.format(var.args.get('mode')))
                                              File "<string>", line 1, in <module>
                                              File "/storage/.kodi/addons/plugin.video.amazon/resources/lib/appfeed.py", line 34, in <module>
                                                deviceID = gen_id()
                                              File "/storage/.kodi/addons/plugin.video.amazon/resources/lib/common.py", line 433, in gen_id
                                                guid = hmac.new(getConfig('UserAgent'), uuid.uuid4().bytes, hashlib.sha224).hexdigest()
                                              File "/usr/lib/python3.7/hmac.py", line 153, in new
                                              File "/usr/lib/python3.7/hmac.py", line 49, in __init__
                                            TypeError: key: expected bytes or bytearray, but got 'str'
                                            -->End of Python script error report<--


may be this helps


This forum uses Lukasz Tkacz MyBB addons.