Kodi Community Forum
[RELEASE] Amazon Prime Instant Video plug-in addon - 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 Prime Instant Video plug-in addon (/showthread.php?tid=108124)



- gnatman - 2011-10-04

tsombrero Wrote:This is weird, I installed the repo from the zip file posted at the top of this thread but when I go into it in the add-ons menu it is empty. Other repos I've installed this way have stuff in them.

I'll try installing manually, just thought I'd mention it.

I had this problem a couple days ago with a different repo, wouldn't show anything when I installed it, so I restarted XBMC, and everything worked fine.


Can play TV series, but not movies... - Daedelus6 - 2011-10-04

I just installed the Amazon Prime add-on and am having some trouble. I'm able to play TV series from the "My Library" menu, but I can't play anything else - I get a script error on movies (in My Library or outside of My Library) and on any TV shows not in My Library.


I'm running Ubuntu 11.04, with xbmc version from Maverick (Ubuntu 10.10).

librtmp0 v2.4 is installed to /usr/


Log is here:
http://pastebin.com/bP1aghSG

Any ideas?


workin - avp387 - 2011-10-04

Bluecop, thanks a ton after installing librtmp with prefix=/usr it worked. Great!

But I am still having trouble with ESPN3 and Hulu. Hulu did work at one point and then it stopped again. Also my XMBC restarts as soon as I highlight Hulu. I am not even able to click it or start it. I am not sure if this has something to do with which XBMC nightly i am using.

I would like to start over. How do I completely remove the Bluecop repository, all the plugins, and relevant data? I removed the repository and the plugins from the "addons" folder and the data from "addon_data" folder in "userdata". Is that it? Is there anything else I need to remove to start over from scratch (eg. should I remove any scripts like mechanize, beautifulsoup, etc?)?

Thanks for the help!


- devicenull - 2011-10-06

I'm trying to force the plugin to sync with Amazon.. it's missing some shows. The one I've noticed so far is Arrested Development: http://www.amazon.com/gp/product/B000N2TMKO/ref=sr_1_1_vod_0_pri?ie=UTF8&qid=1317856556&sr=8-1

Is there any way to force downloading of new content? I've already tried removing the tv.db file and restarting xbmc, but that didn't seem to work.


- BlueCop - 2011-10-06

You can execute a full refresh in the plugin by using a context item "Full Television Refresh" on the Television item. It should pick up and add the new shows. You might want to use the content items on the new shows to scan in TVDB data.

I can upload a new database later though. The user can do the above to get any new content in the db though.

I wanted to add that it takes a bit of time to scan for new content. It will report to your how many new episodes it has added. It will not report duplicates already in the database.

I am working on a small stop and resume update to keep the position stored in the database for when you stop media. it will work similarly to hulu pause resume but store the data locally.


- devicenull - 2011-10-06

BlueCop Wrote:You can execute a full refresh in the plugin by using a context item "Full Television Refresh" on the Television item. It should pick up and add the new shows. You might want to use the content items on the new shows to scan in TVDB data.

I can upload a new database later though. The user can do the above to get any new content in the db though.

I wanted to add that it takes a bit of time to scan for new content. It will report to your how many new episodes it has added. It will not report duplicates already in the database.

I am working on a small stop and resume update to keep the position stored in the database for when you stop media. it will work similarly to hulu pause resume but store the data locally.

Yea, that did it, thanks. Took about 30-45 minutes to run fully.


Firewall compatability - mega30000 - 2011-10-10

Hello.
Thanks for the work on this great plugin. However, I have one problem that I am running into. If my routers firewall is enabled I cannot connect to Amazon or Hulu. If it turn it completely off I can connect with no problem.

Would turning on port forwarding for xbmc be a work around?

Any suggestions?

Thanks


- BlueCop - 2011-10-10

i runa firewall in my router that runs dd wrt. it doesnt seem to have problem streaming.

You shouldn't need any ports forwarded because It only does outbound connections.

Does it affect playing in a browser?

I would consult your router documentation.

please post your solution if you find one to benefit others.


Trouble with XBMC trunk - candrews - 2011-10-13

I'm using XBMC trunk compiled yesterday, and I'm having some trouble with this add-on. I can browse fine, but when I try to play anything (movie or show, it doesn't matter), I get a script error message in the UI, and the following in the log:

====================AMAZON START====================
23:35:27 T:140692062050048 NOTICE: getURL: http://www.amazon.com/gp/product/B001QTTVN6
23:35:28 T:140692062050048 NOTICE: getURL: https://atv-ps.amazon.com/cdp/catalog/GetStreamingUrlSets?asin=B001QTTVN6&deviceTypeID=A13Q6A55DBZB7M&firmware=LNX%2010,3,181,14%20PlugIn&customerID=A362MZQX3910N&deviceID=A362MZQX3910N1318476928762B001QTTVN6&token=45599350a1533154a44c6e992c56112c&xws-fa-ov=true&format=json&version=1
23:35:29 T:140692062050048 NOTICE: {"message":{"timestamp":1318476929,"body":{"message":"not owned","code":"CDP.Playback.NotOwned"},"statusCode":"ERROR"},"signature":"QdrcuEuja8MavPkB/wU0hTnX49oNRZm2qsiMUdPwohQqsAwplxrewT2t4eWg4lrOQafgkKSZlYecNyU8tGs6scxpnc+rEBHIHQAAuJCZ1Fuy4EjZJmAGHnivLKfSZnFlEenV92xX04dKd4CH0RbZj+510B9bNZMmJCj/+7NjSq0="}
23:35:29 T:140692062050048 NOTICE: {u'message': {u'body': {u'message': u'not owned', u'code': u'CDP.Playback.NotOwned'}, u'timestamp': 1318476929, u'statusCode': u'ERROR'}, u'signature': u'QdrcuEuja8MavPkB/wU0hTnX49oNRZm2qsiMUdPwohQqsAwplxrewT2t4eWg4lrOQafgkKSZlYecNyU8tGs6scxpnc+rEBHIHQAAuJCZ1Fuy4EjZJmAGHnivLKfSZnFlEenV92xX04dKd4CH0RbZj+510B9bNZMmJCj/+7NjSq0='}
23:35:29 T:140692062050048 ERROR: Error Type: <type 'exceptions.ValueError'>
23:35:29 T:140692062050048 ERROR: Error Contents: need more than 3 values to unpack
23:35:29 T:140692062050048 ERROR: Traceback (most recent call last):
File "/home/mythtv/.xbmc/addons/plugin.video.amazon/default.py", line 52, in <module>
modes ( )
File "/home/mythtv/.xbmc/addons/plugin.video.amazon/default.py", line 50, in modes
exec 'sitemodule.%s()' % common.args.sitemode
File "<string>", line 1, in <module>
File "/home/mythtv/.xbmc/addons/plugin.video.amazon/resources/lib/play.py", line 77, in PLAYVIDEO
rtmpurls, streamSessionID, cdn, title = GETSTREAMS(getstream)
ValueError: need more than 3 values to unpack
23:35:29 T:140692909893536 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.amazon/?url="http%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2FB001QTTVN6"&mode="play"&name="3+Americas"&sitemode="PLAYVIDEO"]

I'm hoping that if this plugin doesn't work with trunk, you can (hopefully) make it easily work with it? Smile


- evanl81 - 2011-10-13

Hey Bluecop,

Can't say thanks enough for all your hard work on these plugins. For most issues I've had, I've been able to research the answer easily enough. But I have no idea what's going on here. When I try to click TV Shows or Movies, I get a script error. Any ideas?

http://pastebin.com/YwNGzqLp

Using python 2.6.5.

Thanks.


- olevelo - 2011-10-14

Bluecop,
Awesome plugins! There is an issue with adding Favorites to the Library though. It seems that if there is an episode with a question mark (?) in the name, it's trying to write that filename, which is not allowed in Windows, so the script fails and nothing actually gets added (some of the strm and nfo files are created). I'm guessing invalid characters need to get stripped out before creating a filename. I was hoping to try to add a couple series to my Library like I did with your awesome Hulu plugin, but both series I tried (Cheers and The Wonder Years) have episodes with the same issue, so I'm at a standstill! Thanks!


Buffering? - gursk - 2011-10-15

Add my thanks to the many for this great addon. Excellent work!

Anyone else have very frequent buffering while watching HD Amazon streams? Watching the same program on the website is smooth & buffer-free, watching in XBMC it buffers every minute or two. Any ideas?

Thanks!


- devicenull - 2011-10-16

gursk Wrote:Add my thanks to the many for this great addon. Excellent work!

Anyone else have very frequent buffering while watching HD Amazon streams? Watching the same program on the website is smooth & buffer-free, watching in XBMC it buffers every minute or two. Any ideas?

Thanks!

Did you try grabbing the latest version of rtmpdump and using that? That's really all you can possibly do for this.


- jmcdonnell - 2011-10-16

hay BlueCop - great plugin, thanks a lot for this - it works and plays perfectly - any chance of a search functionality though? It is kind of hard to find specific movies, but searching the amazon site finds them really easily.
Cheers again
J


- jmcdonnell - 2011-10-16

or, how do I delete the DB file in order to update the list of films - I found Angelina Ballerina (for my kids, not me Wink on the Amazon site, but can not access it with the plugin:
http://www.amazon.com/Angelina-Ballerina-Love-To-Dance/dp/B0040J8F2W/ref=sr_1_8?s=instant-video&ie=UTF8&qid=1318762075&sr=1-8
Any idea ehat I am doing wrong?
Thanks all
J