sandmann79 / xbmc Goto Github PK
View Code? Open in Web Editor NEWPrime Video Addon for Kodi Media Center
Home Page: https://forum.kodi.tv/showthread.php?tid=349255
License: GNU General Public License v3.0
Prime Video Addon for Kodi Media Center
Home Page: https://forum.kodi.tv/showthread.php?tid=349255
License: GNU General Public License v3.0
Hi,
Amazon US hat offenbar etwas an der Verschlüsselung geändert, immer mehr Filme/Serien funktionieren nicht mehr(Amazon DE scheint davon noch nicht betroffen zu sein, wird aber bestimmt bald nachfolgen).
Beispiel:
Interstellar geht ohne Probleme:
https://www.amazon.com/gp/product/B00TU9UO1W
Log: http://pastebin.com/aRRbQnHV
Mission Impossible Rouge Nation geht nicht:
https://www.amazon.com/gp/product/B012PJVQ7Y/
Log: http://pastebin.com/hVLkGLMy
Hi, there's any plan or anyone know if that addon works with an italian account?
I'm looking for an italian and working addon for kodi and Amazon prime video but I can't find it
tnx, Jo
In unregelmäßigen Abständen startet das Video einfach nicht. Wie viele Zeilen Log brauchst du zur Analyse? Hab mal 50 raus gelassen: http://pastebin.com/BNJTyZKG
I've been playing around with the VOD Addon lately and really enjoy the export functionality to have my favourite shows added to the Kodi Database.
I was thinking if it is possible to have e.g. a Service running which is regularly fetching the Amazon Watchlist and export newly added episodes, so Kodi will pick them up automatically.
Do you see the option to add this kind of funcitonality? I might be able to implement this as well, but you are way more familiar with your codebase.
Could this be ported to work on plex via the plex channels?
Hi,
Amazon Prime Video is now available also in Italy.
Please, can you upgrade your addons to supports Amazon Prime Video for Italy?
Thanks!
Hallo,
danke für das geniale addon!
Problembeschreibung auf Englisch:
I have a problem controlling the playback in chrome. The xdotool seems to be executed only after chrome is closed (killed via console).
I played around without any real knowledge in python and found that if i comment out line 89 (result = process.communicate()[0]) and 90 (Log(result)) everything works fine. I'm not really sure what those lines are supposed to do, but i think those a for diagnostic purposes only and the first one doesn't seem to return until chrome is closed.
Environment:
x86_64 bit Ubuntu 16.04.1
Google Chrome 55.0.2883.87
Kodi 17.0RC1
Amazon 1.7.6
Thank you very much.
Gruß
max
packages/addons.xml.md5 does not contain the proper checksum for packages/addons.xml
I can’t seem to get any movies to playback. I have Kodi 18, Input Stream , and libwidevinecdm.so in the cdm directory. Netflix plugin is working for me so I know that it should work.
Anyone able to point me in the right direction?
I installed the add-on and set it up to e able to play through the native kodi player, but when I start the add-on it goes to a blank configuration screen so I am not able to set anything up.
The only thing visible is:
Amazon VOD
Soften 0% ?0?
Then it has cancel and default buttons but nothing happens if you click them.
I have tried uninstalling and reinstaling the add-on without success. Any help would be greatly appreciated.
I have already installed Beautifulsoup and Mechanize but it still says dependencies not met. Could you please tell me what else is required?
Hi Sandmann
Ive just tried to install this addon, and i get the error in the title.
Is there a known issue/fix for this problem?
Thanks
Windows defender detects userinput.exe tool as malware (Trojan:Win32/Rundas.B)
Hi,
i got directly an error when I try to play a Movie/Serie.
Amazon Login - works
Showing Lists - works
Watch Movie directly in Chrome - works
Watch Movie out of the Amazon plugin - doesn't work
Here are a small dump of the error log:
kodi_amazon_error.txt
Couldn't figure out the problem...
If you need something in addtion, drop me an message.
Could be, that I need some days to reply.
BR
Manuel
If i try to open the Amazon VOD addon the URL: https://techblog.willshouse.com/2012/01/03/most-common-user-agents/ can't be opened because of an SSL Handshake error.
I'm running Kodi 17.4 on a QNAP NAS.
This is the error log:
kodi_amazon.txt
When I try to add my amazon prime account (Canada) it gives and error stating that my credentials are incorrect
I see a commented out HighDef parameter, is that what enables Ultra HD listings to be retrieved? Any info would be appreciated.
I've got both plugins working on my Android box with Kodi 16 and everything but search works fine. When I choose "search" from the menu, I can enter my search string and a result list is displayed, but Kodi then immediately jumps back to the previous menu.
As a lover of open source, I did some digging in the code and found an easy fix for both plugins that works for me. I'll provide a PR with a fix very shortly.
Hallo,
KODI gibt mir seit kurzem die Meldung "due changes at amazon's drm encryption, it's not possible to use inputstream for this video. please configure the fallback." bei manchen (neueren) Filmen von Amazon Prime.
Gibt es dafür eine Lösung? Einen möglichen Fallback gibt es auf dem Raspi ja nicht.
VG, Micha
Hi Sandmann
Your addon works fine for the amazon US but i'm not able to use my Indian account Amazon Prime India account . It is very frustrating to not having support for Indian account
Do you plan to add the support in future. I have Amazon prime India account if you need anything to add support for Indian account, please feel free to ask.
As amazon prime is available in India. Please add support. Thanks
muss ich noch etwas weiteres installieren vorher? wo krieg ich die browser her? bsp chrome?
Looks like amazon has limited current dti to sd only. Any chance of replacement?
es kommt nur eine Fehlermeldung.
Das scheint an der default.py Zeile 116 zu liegen. thumb wird garnicht abgefragt und existiert nicht.
Und custBrowser scheint nicht optional zu sein. Ist etwas verwirrend
If two factor auth is enabled, you can't do anything without trying in your two factor OTP. Possible fix: Adapt the logibn method from the android tv app or "check" the box on never ask for this device.
Hardware: Pi 3B
Software: 7.0.2 -> Updated with Krypton build #1008
Hello
first I want to say, that I love the addon, it work well. I have a issue with a few titles though, i.e. John Wick it only plays audio and no video starts. Is this issue known and is there a fix?
Regards
Ich nutze das Amazon VOD Addon in Verbindung mit LibreELEC (v7.90.009)auf einem Raspberry Pi 2. Wenn ich nun ein Video zum Abspielen auswähle zeigt sich kurz der Ladekringel und dann passiert nichts weiter.
Bis vor wenigen Wochen (ca. Ende November) hat das ganze funktioniert. Leider kann ich keinen genauen Zeitpunkt nennen. Ich habe zwischenzeitlich einige Updates durchgeführt (LibreELEC und das VOD Addon)
01_KODI.log.txt
02_System.log.txt
03_Hardware.log.txt
04_Audio.log.txt
05_Network.log.txt
06_varlog.log.txt
I am trying to use it on OSMC on raspberry pi3 .
I am getting this error InputStream is not available.
Should I switch to some other mode?
If so what you recommend that certainly works ?
Tried stream input, browser and script methods to no avail. Stream input plays, but the image is garbled and mostly blank. The other methods do nothing. Android method successfully loads and plays the stream in the Android Amazon video app, but at that point I might as well just use that app! Prefer to use yours with input stream. Any suggestions on how to get that working?
This is 2 question not an issue. Is there a way to get the prime channels to show up and be selected in this? I added a channel to my account in prime, but don't see a way to find it in the app.
Also, how do I get to control the video from a remote? I have a hauppauge remote that is RC5 type and can only get it to jump forward or back.
thanks
see title, also Player.Title is not correctly set when the second episode starts.
Thanks!
Hi!
My problem is that AmazonVOD does not start playing any videos.
It seams that for some reason the ImputStream plugin can't open the links.
I use Kodi 17 beta3 on a Raspberry3, the the widevine library should be up-to-date and I already tried updating to Amazon 0.2.7.
Is it a known issue or have I done somthing wrong?
I couldn't find an appropriate report here at github.
BG Christian
ps: very nice project! ;)
Hi,
Playing multiple episodes in a row via "play from here" works basically, but FullscreenVideo loses focus after every episode.
Test:
Thanks! :)
Hi,
Recently amazon.de
seems to require a "verification code" whenever I log in. This code is sent to my email (I have not enabled 2 way authentication on Amazon).
When I try to log in in your amazon video plugin it fails now. At the same time, I can see that I receive verification codes on my email.
I looked for ways to verify the box on my amazon account via a normal PC, but did not find a way.
Would it be possible to supply a verification code during the login procedure?
Thanks,
So, this question came up over here: asciidisco/plugin.video.netflix#211.
What parts of this plug-in could be in a grey-area/illegal? Or is it just a 'just in case' message?
Since we updated (Aug 8?), the Watchlist appears empty. I've tried logging out and logging in, no change. The issue exists on both our HTPCs. (this is on a U.S. account)
Remote Control is not working since a few Versions. It has always worked in the past. (Play, Pause, Skip forward / backwards, Stop and automatically close the browser). Currently I always have to use the Mouse and Keyboard to manually stop, get out of fullscreen close the browser, close the error message from the Addon.
Amazon-test 2.1
Kodi 16.1
Windows 7
Chrome Browser (latest Version)
I'm controlling Kodi with EventGhost (One for all Remote).
Let me know if there are other test that could help you find the issue. Thank you for the support.
select video , does not play using input stream .
http://paste.ubuntu.com/19637515/
Hi,
due to some problems with the DRM of prime, I was trying to use the add in and show the video in the chromium browser.
So watching videos is possible and the usage of the add in is working to.
But now I need a script to open chromium from the addin.
My script passes only the file {u} and starts chromium like
chromium-browser $1
The problem is, Kodi is not running in a X Window, so chromium cannot start. When connected via VNC, however, chromium is started on the VNC Window and is not visible on the TV (where kodi is shown)
Any ideas, how to overcome this?
Hello
I try the plugin and is working ok on Kodi 18 nightly except that some movies do not have sound.
Hi!
Please let amazon video execute a custom script when launching and ending the browser.
So it would be possible to disable the remote control in kodi and configure a remote to
control firefox. Otherwise all lirc commands are catched up by kodi in the background.
if http response code is 404.
15:26:11 3766.082031 T:140705935443712 NOTICE: [Amazon] Movie Update: Updating Fanart
15:27:41 3856.013916 T:140705935443712 NOTICE: [Amazon] Movie Update: Updating Fanart Finished
15:27:45 3860.463379 T:140705935443712 NOTICE: [Amazon] TV Update: Updating Fanart
15:28:02 3876.836182 T:140705935443712 ERROR: [Amazon] Error reason: HTTP Error 404: Not Found
15:28:02 3876.845703 T:140705935443712 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: expected string or buffer
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.amazon/default.py", line 41, in <module>
modes()
File "/storage/.kodi/addons/plugin.video.amazon/default.py", line 39, in modes
exec 'sitemodule.%s()' % common.args.sitemode
File "<string>", line 1, in <module>
File "/storage/.kodi/addons/plugin.video.amazon/resources/lib/appfeed.py", line 295, in updateAll
tv.updateFanart()
File "/storage/.kodi/addons/plugin.video.amazon/resources/lib/tv.py", line 624, in updateFanart
tvid, poster, fanart = appfeed.getTVDBImages(title, seasons=seasons)
File "/storage/.kodi/addons/plugin.video.amazon/resources/lib/appfeed.py", line 236, in getTVDBImages
soup = BeautifulSoup(result)
File "/storage/.kodi/addons/script.module.beautifulsoup/lib/BeautifulSoup.py", line 1522, in __init__
BeautifulStoneSoup.__init__(self, *args, **kwargs)
File "/storage/.kodi/addons/script.module.beautifulsoup/lib/BeautifulSoup.py", line 1147, in __init__
self._feed(isHTML=isHTML)
File "/storage/.kodi/addons/script.module.beautifulsoup/lib/BeautifulSoup.py", line 1171, in _feed
smartQuotesTo=self.smartQuotesTo, isHTML=isHTML)
File "/storage/.kodi/addons/script.module.beautifulsoup/lib/BeautifulSoup.py", line 1773, in __init__
self._detectEncoding(markup, isHTML)
File "/storage/.kodi/addons/script.module.beautifulsoup/lib/BeautifulSoup.py", line 1918, in _detectEncoding
'^<\?.*encoding=[\'"](.*?)[\'"].*\?>').match(xml_data)
TypeError: expected string or buffer
-->End of Python script error report<--
.bimsarck
First off: great great on the plugin! I was wondering if you'd be open to add support for multiple amazon accounts, to would make it easier to switch between different accounts with different content? The use case would simply be that there are multiple amazon customers in a single home, who all buy things using their own amazon account and switching between these accounts currently is quite cumbersome.
I may be missing it, but the Amazon Prime Video plugin does not seem to support Kodi library integration. It would be cool to be able to add Prime Video movies and TV series to the Kodi Library. Any chance of this feature being added?
Hi ,
I was just using the Amazon video plugin and it worked just few weeks ago but now nothing. I was using the version 0.2.5. Now I update to the 0.2.7 but still it doesn't work.
I got the follow error in the log:
`
00:19:28 496.324219 T:1672475552 NOTICE: [Amazon VOD] [('cat', 'Browse'), ('mode', 'listContent'), ('opt', 'listcat'), ('page', '1'), ('url', 'ContentType=Movie&OrderBy=Rating&Preorder=F&MinAmazonRatingCount=30&Preorder=F')]
00:19:28 496.328552 T:1672475552 NOTICE: [Amazon VOD] getURL: https://atv-eu.amazon.com/cdp/catalog/Browse?firmware=XXXXXXXXX
00:19:32 500.388428 T:1447941024 NOTICE: [Amazon VOD] [('mode', 'checkMissing')]
00:19:32 500.388885 T:1447941024 NOTICE: [Amazon VOD] Starting Fanart Update
00:19:32 500.389435 T:1447941024 NOTICE: [Amazon VOD] searching fanart for LOOP FITNESSBAND WORKOUT: ABNEHMEN & FIT WERDEN: 6 EFFEKTIVE WORKOUTS at tmdb.com
00:19:32 500.392883 T:1447941024 NOTICE: [Amazon VOD] getURL: http://api.themoviedb.org/3/search/movie?api_key=XXXXXXXXX
00:19:33 500.654266 T:1447941024 NOTICE: [Amazon VOD] getURL: http://api.themoviedb.org/3/search/movie?api_key=&language=de&query=loop+fitnessband+workout%3A+abnehmen+%26+fit+werden%3A+6+effektive+workouts
00:19:33 500.889404 T:1447941024 NOTICE: [Amazon VOD] getURL: http://api.themoviedb.org/3/search/movie?api_key=&language=de&query=loop+fitnessband+workout&year=2016
00:19:33 501.130768 T:1447941024 NOTICE: [Amazon VOD] getURL: http://api.themoviedb.org/3/search/movie?api_key=&language=de&query=loop+fitnessband+workout
00:19:34 501.423920 T:1447941024 NOTICE: [Amazon VOD] Finished Fanart Update
00:19:38 505.947845 T:1447941024 NOTICE: [Amazon VOD] [('asin', 'XXXXXXXXX'), ('mode', 'PlayVideo'), ('name', '[COLOR FFE95E01]Billy Elliot The Musical: Live [OV][/COLOR]'), ('adult', '0'), ('trailer', '0'), ('selbitrate', '0')]
00:19:38 505.951996 T:1447941024 NOTICE: [Amazon VOD] Login
00:19:38 506.033600 T:1447941024 ERROR: /storage/.kodi/addons/plugin.video.amazon-test/default.py:1453: UserWarning: gzip transfer encoding is experimental!
br.set_handle_gzip(True)
00:19:41 508.890533 T:1447941024 NOTICE: [Amazon VOD] getURL: https://www.amazon.de/gp/deal/ajax/getNotifierResources.html
00:19:41 509.160889 T:1447941024 NOTICE: [Amazon VOD] getURL: https://www.amazon.de/gp/video/streaming/player-token.json?callback=onWebToken_126
00:19:42 509.433868 T:1447941024 NOTICE: [Amazon VOD] getURL: https://atv-eu.amazon.com/cdp/catalog/GetPlaybackResources?asin=XXXXXXXXX
00:19:42 509.789398 T:1447941024 ERROR: [Amazon VOD] Cannot complete request. (prs.norights.notowned)
00:19:42 509.789825 T:1447941024 NOTICE: [Amazon VOD] False
00:19:42 509.847565 T:1962971136 NOTICE: VideoPlayer: Opening:
00:19:42 509.847687 T:1962971136 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
00:19:42 509.848175 T:1489884064 NOTICE: Creating InputStream
00:19:42 509.848969 T:1489884064 ERROR: Unable to load /usr/lib/kodi/system/players/VideoPlayer/libdvdnav-arm.so, reason: /usr/lib/kodi/system/players/VideoPlayer/libdvdnav-arm.so: cannot open shared object file: No such file or directory
00:19:42 509.849030 T:1489884064 ERROR: CVideoPlayer::OpenInputStream - error opening []
00:19:42 509.849060 T:1489884064 NOTICE: CVideoPlayer::OnExit()
00:19:42 509.849518 T:1962971136 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.amazon-test/?asin=XXXXXXXXX
00:19:42 509.857758 T:1962971136 NOTICE: CVideoPlayer::CloseFile()
00:19:42 509.857880 T:1962971136 NOTICE: VideoPlayer: waiting for threads to exit
00:19:42 509.857941 T:1962971136 NOTICE: VideoPlayer: finished waiting
00:19:42 509.858002 T:1962971136 NOTICE: CVideoPlayer::CloseFile()
00:19:42 509.858032 T:1962971136 NOTICE: VideoPlayer: waiting for threads to exit
00:19:42 509.858063 T:1962971136 NOTICE: VideoPlayer: finished waiting
I can see the film list and also try to play it but then nothing happen.
`I see an error searching for libdvdnav-arm.so. Not sure if it is an hard dependency because I think I never had that one.
Thanks
Alex
I'm using the most recent Kodi nightly build for OSX (20160602), and am getting an error when trying to use the Amazon VOD app (UK, if that makes any difference). This error is triggered when an attempt is made to log in. The logs show the following Python exception:
11:58:02 T:123145302839296 NOTICE: [Amazon VOD] [('cat', 'Browse'), ('mode', 'getList'), ('page', '1'), ('url', 'watchlist')]
11:58:02 T:123145302839296 NOTICE: [Amazon VOD] Login
11:58:02 T:123145302839296 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: Invalid data length, data must be a multiple of 8 bytes
.
Traceback (most recent call last):
File "/Users/jon/Library/Application Support/Kodi/addons/plugin.video.amazon-test/default.py", line 1630, in <module>
elif mode == 'getList': getList(url, int(export))
File "/Users/jon/Library/Application Support/Kodi/addons/plugin.video.amazon-test/default.py", line 669, in getList
cj = MechanizeLogin()
File "/Users/jon/Library/Application Support/Kodi/addons/plugin.video.amazon-test/default.py", line 1236, in MechanizeLogin
succeeded = LogIn()
File "/Users/jon/Library/Application Support/Kodi/addons/plugin.video.amazon-test/default.py", line 1252, in LogIn
password = decode(addon.getSetting('login_pass'))
File "/Users/jon/Library/Application Support/Kodi/addons/plugin.video.amazon-test/default.py", line 1330, in decode
d = k.decrypt(base64.b64decode(data))
File "/Users/jon/Library/Application Support/Kodi/addons/script.module.pydes/lib/pyDes.py", line 836, in decrypt
block = self.__key3.crypt(iv, DECRYPT)
File "/Users/jon/Library/Application Support/Kodi/addons/script.module.pydes/lib/pyDes.py", line 572, in crypt
raise ValueError("Invalid data length, data must be a multiple of " + str(self.block_size) + " bytes\n.")
ValueError: Invalid data length, data must be a multiple of 8 bytes
.
-->End of Python script error report<--
I also tried with an earlier build (20160531), and the same. Do you know what could be causing this?
Got the repository added , showing two addons, Amazon and Amazon VOD..
tried installing both video add-on(s) , but clicking on "install" button doesn't do anything.
Ich hab seit heute 19.12.2017 diesen Fehler im debug log:
02:39:18.854 T:1440965520 DEBUG: CAddonSettings[plugin.video.amazon-test]: loading setting values
02:39:18.864 T:1440965520 NOTICE: [Amazon VOD] {'asin': 'B071H1C8RK', 'name': '4 - 100 [Esp]', 'mode': 'PlayVideo', 'selbitrate': '0', 'trailer': '0', 'adult': '0'}
02:39:18.878 T:1440965520 NOTICE: [Amazon VOD] getURL: https://www.amazon.de/gp/deal/ajax/getNotifierResources.html
02:39:19.087 T:1440965520 NOTICE: [Amazon VOD] getURL: https://www.amazon.de/gp/video/streaming/player-token.json?callback=onWebToken_472
02:39:19.300 T:1440965520 NOTICE: [Amazon VOD] getURL: https://atv-ext-eu.amazon.com/cdp/catalog/GetPlaybackResources?titleId=B071H1C8RK&deviceTypeID=AOAGZA014O5RE&firmware=1&deviceID=8e92867d8c225889e7b713274f1661c809b14907df8f03c0420cbd71&marketplaceID=A1PA6795UKMFR9&format=json&version=1&titleDecorationScheme=primary-content&resourceUsage=ImmediateConsumption&consumptionType=Streaming&deviceDrmOverride=CENC&deviceStreamingTechnologyOverride=DASH&deviceProtocolOverride=Https&audioTrackId=all&deviceBitrateAdaptationsOverride=CVBR%2CCBR&videoMaterialType=Feature&desiredResources=AudioVideoUrls,SubtitleUrls&supportedDRMKeyScheme=DUAL_KEY
02:39:19.639 T:1440965520 NOTICE: [Amazon VOD] {u'error': {u'errorCode': u'PRS.InvalidRequest', u'message': u'Cannot complete request.', u'type': u'PRSInvalidRequestException'}}
02:39:19.639 T:1440965520 ERROR: [Amazon VOD] {u'errorCode': u'PRS.InvalidRequest', u'message': u'Cannot complete request.', u'type': u'PRSInvalidRequestException'}
02:39:19.639 T:1440965520 ERROR: [Amazon VOD] Cannot complete request. (prs.invalidrequest)
02:39:19.640 T:1440965520 NOTICE: [Amazon VOD] Playing Dummy Video
02:39:19.641 T:1780478864 DEBUG: Thread scriptobs 1780478864 terminating
02:39:19.683 T:1943010320 DEBUG: CPlayerCoreFactory::GetPlayers(/storage/.kodi/addons/plugin.video.amazon-test/resources/dummy.avi)
Ein abspielen des Filmes ist nicht mehr möglich.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.