![]() |
|
[RELEASE] Amazon Prime Instant Video plug-in addon - Printable Version +- XBMC Community Forum (http://forum.xbmc.org) +-- Forum: Help and Support (/forumdisplay.php?fid=33) +--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27) +---- Forum: Video Add-ons (/forumdisplay.php?fid=154) +---- Thread: [RELEASE] Amazon Prime Instant Video plug-in addon (/showthread.php?tid=108124) |
- primetime34 - 2012-01-14 18:47 BlueCop Wrote:I thought I linked to this before. it was the top google search result. This link mentioned earlier for using this on ATV1 is still dead. Anybody have the file that they could upload somewhere else? Here is the original post - BlueCop - 2012-01-14 20:08 is eden beta1 for atv1 available? it has the new librtmp. - TheWaterbug - 2012-01-14 21:02 huckw Wrote:Love this plugin...great work BlueCop!!++ Feel free to ignore this if you're too busy Bluecop, but if you have time, would you mind a 30-second summary of how the plugin works, e.g. how you reverse-engineered the streaming client, what parts are XBMC core, and what parts are yours, etc.? Is there an actual API for an Amazon streaming client? This is solely for curiosity, as I'm not a programmer, so I can't really read code very well. I am just wondering how a single, 3rd-party programmer can make this happen, on unsupported hardware, with no official help from Amazon, yet there are other official Amazon-compatible boxes out there *cough* TiVo *cough* that haven't done it. - BlueCop - 2012-01-14 21:29 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. It just scrapes website for the list of shows and movies. I found the amazon product api is rather limited. I don't actually use it because it requires api keys. some of which you are supposed to keep private which i can't with an open source plugin. - primetime34 - 2012-01-14 22:19 BlueCop Wrote:is eden beta1 for atv1 available? it has the new librtmp. I have eden beta1 running on my atv1. However, when I try to run this addon, nothing happens. It just stays on the addon screen. It doesn't load or anything. - BlueCop - 2012-01-14 22:22 try to remove and reinstall it. I have had a few reports of dependencies not getting installed. post a log of the failure to pastebin if reinstall doesn't help. - primetime34 - 2012-01-15 00:55 BlueCop Wrote:try to remove and reinstall it. I have had a few reports of dependencies not getting installed. I removed and reinstalled. This time something happened, but it was telling me that the script failed. Here is the pastebin http://pastebin.com/yVaLuFY1 - BlueCop - 2012-01-15 01:22 it is missing the mechanize module. I am not sure why it isn't being installed. are you letting the install success pop up before running it? - primetime34 - 2012-01-15 02:14 A 3rd reinstall finally got it working. Thanks. error - nchaurdia - 2012-01-17 20:02 Trying to play the episode for a TV show and it says to check the log. Not sure what is going on. I tried it once yesterday and it had worked. Now it's not working. Reinstalled, rebooted too, but still doesn't work. http://pastebin.com/Gnx08ZGR |