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)



- Treviley - 2012-01-25

Bluecop

Here my log for script fail error

http://pastebin.com/uq3JPNj5


- BlueCop - 2012-01-25

Treviley: what platform are you on? it can't negotiate the ssl connection. I have seen the problem but it was because it didn't include python ssl support in the build.


- Treviley - 2012-01-25

Apple TV 2


- Treviley - 2012-01-25

Here is my full log

http://pastebin.com/hxesY8DL


- BlueCop - 2012-01-25

Treviley: I see your build is from Jun 19 2011

could you upgrade to the current eden beta 2?


- Treviley - 2012-01-25

Bluecop: I have tried updating using Terminal and NitoTV and its telling me I have the latest version installed yet xbmc system info is still showing that my build is June 10, 2011.

Where am I going wrong?


- BlueCop - 2012-01-25

ssh in as root and run these 2 commands

apt-get update
apt-get upgrade

You will have to press y to accept. It should get you to the latest version. Jan 20 is the compiled date of beta 2.


- Treviley - 2012-01-25

Thanks Bluecop. That worked. I can now access Amazon Smile

Thanks again


- BlueCop - 2012-01-25

I committed an update for 0.4.2

There are some minor code changes.

The main thing is the new databases for TV and Movies.


- Pointed - 2012-01-26

blu,

here is my log with debugging on. Hope this helps.

http://pastebin.com/1qyuChyF


- BlueCop - 2012-01-26

yea it doesn't get past the initial client digest. I have never seen this error before.

RTMP_Connect1, handshake failed

it is failing the handshake but I am not sure why.


ERROR: RTMP_ReadPacket, failed to read RTMP packet header - metheos - 2012-01-29

No longer playing videos for me. Updated to Eden Beta 2, addon version 0.4.3. Log is at http://pastebin.com/C11RvM6w

Everything seems to start going south at:
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
followed by:
WARNING: could not find codec parameters for rtmpe

Any thoughts on the cause(s) ?

Thanks!


- BlueCop - 2012-01-29

"drm":"FLASH_ACCESS"

unfortunately. It seem they are switching to flash access.


It is really weird because all the same videos still work perfectly for me. I don't know how they are determining who to send flash access to.



metheos: If you and anyone else having Flash Access problems could post your geographic location and the isp you have. I would like to try to track where it is occurring by location.


I also committed a 0.4.3 to fix some script errors on login and starting a video. It only occurred sometimes but should be fixed now


- TheWaterbug - 2012-01-29

BlueCop Wrote:The heavy lifting is done by rtmpdump/librtmp. The plugin just provides xbmc a url for playback.

It is really easy to figure out if you proxy all your traffic including tsl/ssl. You get plain text versions of everything ussually. Once you have a log of the traffic then I just search for the rtmp:// link. It is just a matter of figuring out what is needed to get that link.

Amazon requires a cookie to show you are logged into the site. When you are logged in it sends you embedded flash variables in the html for prime video pages. The plug-in parses those variables which are used to make requests from amazon servers for the rtmp links of that video. There isn't a public api. It does seem to be an api though. There are a variety of events and requests you can post through it.
Thanks for the post, and sorry for the long silence. I was going to respond by asking, "So the video isn't encrypted, it's just protected access by cookie?" but then I read the subsequent few pages and see that it's getting encrypted with Flash Sad

I really hope they don't kill your client.


rtmpdump/librtmp 2.4 but still not working Help please. - jiberwabish - 2012-01-31

not sure how to delete my multiple posts so just doing this instead.