[REQUEST] Amazon Prime Instant Video addon (similar to Netflix)
#76
I installed this plugin from Bluecop's repo yesterday after signing up for Amazon Prime.

My daughter and I had a lot of fun browsing for shows - she is really excited for Sesame Street Smile Unfortunately, I get errors opening the stream and I am unsure how to troubleshoot further.

I am running xbmc on Ubuntu 10.10 and am happy to pull log files, etc - just need to know where to break this down and move forward.

*SO EXCITED FOR THIS PLUGIN*

Thanks in advance for the help!
Reply
#77
jdmpike: have you upgraded your librtmp? you can checkout the rtmpdump git and then cd in the librtmp subdirectory. then just "make" and "sudo make prefix=/usr install". I think thats correct.



also i wanted to add I am working on better feed back for login and playback failures. hopefully this will solve the issues people are having. i have been using it daily to work through old numb3rs episodes in hd without a problem.


here is the release thread for the addon
http://forum.xbmc.org/showthread.php?tid...ght=amazon
Reply
#78
Awesome work Blucop! Its working for me now after upgrading the rtmpdump to 2.4 via github.

How do I update the cache of videos? There are significantly a lot more videos on the amazon site then what is listed.
Reply
#79
mythboy: it only lists what is available for free to prime users.

are you using the newest version from my repo?
Reply
#80
@bluecop: I went through this procedure to upgrade to the latest version of librtmp, and now all is good Big Grin

For those in a similar boat (XBMC on Ubuntu 10.10), here is what I did so I could use Bluecop's awesome plugin!

This was a pretty fresh xbmc install, so it didn't have everything I needed to compile. The first step was to grab packages so I could build.

Code:
jdmpike@xbmc:~$ sudo apt-get install build-essential gcc make git libssl0.9.8 libssl-dev libssl0.9.8

Then I grabbed sources for rtmpdump from their git repository

Code:
jdmpike@xbmc:~$ git clone git://git.ffmpeg.org/rtmpdump

cd into rtmpdump/librtmp...

Code:
jdmpike@xbmc:~/src/rtmpdump/librtmp$ make SYS=posix
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o rtmp.o rtmp.c
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o log.o log.c
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o amf.o amf.c
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o hashswf.o hashswf.c
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o parseurl.o parseurl.c
ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
ar: creating librtmp.a
gcc -shared -Wl,-soname,librtmp.so.0  -o librtmp.so.0 rtmp.o log.o amf.o hashswf.o parseurl.o  -lssl -lcrypto -lz
ln -sf librtmp.so.0 librtmp.so

followed by....

Code:
jdmpike@xbmc:~/src/rtmpdump/librtmp$ sudo make prefix=/usr install
sed -e "s;@prefix@;/usr;" -e "s;@libdir@;/usr/lib;" \
                -e "s;@VERSION@;v2.4;" \
                -e "s;@CRYPTO_REQ@;libssl,libcrypto;" \
                -e "s;@PRIVATE_LIBS@;;" librtmp.pc.in > librtmp.pc
mkdir -p /usr/include/librtmp /usr/lib/pkgconfig /usr/man/man3 /usr/lib
cp amf.h http.h log.h rtmp.h /usr/include/librtmp
cp librtmp.a /usr/lib
cp librtmp.pc /usr/lib/pkgconfig
cp librtmp.3 /usr/man/man3
cp librtmp.so.0 /usr/lib
cd /usr/lib; ln -sf librtmp.so.0 librtmp.so
Reply
#81
Hi, all! New member, here Big Grin.

I just installed your repo and the Amazon client on my jailbreaked/jailbroken Apple TV 2, and it works! Awesome, and thank you very much!

Pretty amazing that you can reverse engineer something like a secure streaming client.

Anyway, I just wanted to thank Bluecop for providing this.

As others have mentioned, a Search function would help tremendously, but even without it it's a great feature, and something I've been looking for for along time.

One question--how do Amazon items get into the "Favorited" list? A member on another forum suggested that I Favorite all my movies from my Mac/PC to avoid having to scroll through thousands of titles in XBMC, but I can't figure out how to do that.

Thanks!

[I just saw the Released thread, so I reposted this over there. Ignore this one.]
Reply
#82
I'm running the latest XBMC on Win7 and just installed the repo so I'm on 0.4.4. It won't stream for me. I double checked username / password. Here is the log so someone more familiar can tell me what to do. Two lines that jumped out for me were:
06:30:29 T:1220 M:4158664704 WARNING: HandShake: Type mismatch: client sent 6, server answered 9
06:30:29 T:1220 M:4158664704 WARNING: HandShake: Server not genuine Adobe!

====================AMAZON START====================
06:30:16 T:4580 M:4149637120 NOTICE: getURL: http://www.amazon.com/gp/product/B000V5ZIBU
06:30:19 T:4580 M:4156039168 NOTICE: getURL: https://atv-ps.amazon.com/cdp/catalog/Ge...&version=1
06:30:28 T:4580 M:4158996480 NOTICE: {"message":{"timestamp":1330871432,"body":{"urlSets":{"streamingURLInfoSet":[{"sessionId":"15403-d2fd7f25-0b1b-42b4-a2a4-1602bd320049","drmLicenseToken": ***SNIP to shorten post***
06:30:28 T:4580 M:4158935040 NOTICE: {u'message': {u'body': {u'macrovision': 0, u'statusCallbackIntervalSeconds': 30, u'urlSets': {u'streamingURLInfoSet': [{u'drm': u'FLASH_ACCESS', u'sessionId': ***SNIP to shorten post***
06:30:28 T:4580 M:4158930944 NOTICE: [{u'url': u'rtmpe://cp79203.edgefcs.net/ondemand/mp4:ans/148375/video/CBS/2/_10/101/s9_/s_d/cb/65a67787-d074-4073-a968-ecc61340698b-074.f4v?auth= ***SNIP to shorten post***
06:30:28 T:4580 M:4158922752 NOTICE: getURL: http://cp79203.edgefcs.net/fcs/ident
06:30:29 T:4580 M:4158902272 NOTICE: getURL: https://atv-ps.amazon.com/cdp/usage/Upda...6ICU1UK3FG
06:30:29 T:1052 M:4158836736 NOTICE: DVDPlayer: Opening: rtmpe://63.80.4.101:1935/ondemand?_fcs_vhost=cp79203.edgefcs.net&ovpfv=2.1.4&auth=da.bLagd8cMdZa0awcPcLcxc3axc0bpcZcI-bpu3Yi-FPa-QvO1Azw-k6lalbk7qam4pTm9mWpVkeoWq7pdj4r8lRl6mTk4qbm9pRmbl3pSk9oRq9p5j8rek5l7mTlVqam9o5m7laog&aifp=v001&slist=ans/148375/video/CBS/2/_10/101/s9_/s_d/cb/ playpath=mp4:ans/148375/video/CBS/2/_10/101/s9_/s_d/cb/d7a0cd8b-fecf-4dc0-9ef1-535f0a143e13-074.f4v pageurl=http://www.amazon.com/gp/product/B000V5ZIBU swfurl=http://ecx.images-amazon.com/images/G/01/digital/video/streaming/5.24-0/UnboxScreeningRoomClient._V160341581_.swf swfvfy=true
06:30:29 T:1052 M:4158832640 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
06:30:29 T:1220 M:4158828544 NOTICE: Creating InputStream
06:30:29 T:1220 M:4158664704 WARNING: HandShake: Type mismatch: client sent 6, server answered 9
06:30:29 T:1220 M:4158664704 WARNING: HandShake: Server not genuine Adobe!
06:30:29 T:1220 M:4158664704 ERROR: RTMP_Connect1, handshake failed.
06:30:29 T:1220 M:4158664704 ERROR: CDVDPlayer::OpenInputStream - error opening [rtmpe://63.80.4.101:1935/ondemand?_fcs_vhost=cp79203.edgefcs.net&ovpfv=2.1.4&auth=da.bLagd8cMdZa0awcPcLcxc3axc0bpcZcI-bpu3Yi-FPa-QvO1Azw-k6lalbk7qam4pTm9mWpVkeoWq7pdj4r8lRl6mTk4qbm9pRmbl3pSk9oRq9p5j8rek5l7mTlVqam9o5m7laog&aifp=v001&slist=ans/148375/video/CBS/2/_10/101/s9_/s_d/cb/ playpath=mp4:ans/148375/video/CBS/2/_10/101/s9_/s_d/cb/d7a0cd8b-fecf-4dc0-9ef1-535f0a143e13-074.f4v pageurl=http://www.amazon.com/gp/product/B000V5ZIBU swfurl=http://ecx.images-amazon.com/images/G/01/digital/video/streaming/5.24-0/UnboxScreeningRoomClient._V160341581_.swf swfvfy=true]
06:30:29 T:1220 M:4158664704 NOTICE: CDVDPlayer::OnExit()
06:30:29 T:1220 M:4158664704 NOTICE: CDVDPlayer::OnExit() deleting input stream
06:30:29 T:1052 M:4158623744 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.amazon/?url="http%3A%2F%2Fwww.amazon.com%2Fgp%2Fproduct%2FB000V5ZIBU"&mode="play"&name="1x1+-+Emissary"&sitemode="PLAYVIDEO"]
06:30:29 T:1052 M:4158644224 NOTICE: CDVDPlayer::CloseFile()
06:30:29 T:1052 M:4158644224 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
06:30:29 T:1052 M:4158644224 NOTICE: DVDPlayer: waiting for threads to exit
06:30:29 T:1052 M:4158644224 NOTICE: DVDPlayer: finished waiting
06:30:29 T:4580 M:4158619648 NOTICE: {"message":{"timestamp":1330871433,"body":{"statusCallbackIntervalSeconds":30},"statusCode":"SUCCESS"},"signature":"UtgO4hsPaYnSFK1MzUCl2qxLtmP67ccabLdcBkmHWCWMvOfNgWbtIiP9tXkwZ0sq9ZFwERO4ftBRkZawmLWLOy31EsS3q3gWxq3k9laXh0ux9V4+3RG3BIZkL+PF3wNbIAe5NVk0lUMR+0+7IyEzK253P0tUAr08/r7soBgEj8M="}
06:30:29 T:4580 M:4158619648 NOTICE: getURL: https://atv-ps.amazon.com/cdp/usage/Repo...?deviceID= ***SNIP to shorten post***
06:30:30 T:4580 M:4158668800 NOTICE: {"message":{"timestamp":1330871433,"body":{"backoffMilliSeconds":0},"statusCode":"SUCCESS"},"signature":"X+oiB4uC1fCmUMkkG/tqzpcVzJmjmx33isy+LrlAE0nqcUonR8WKtyJUNfc9K+T7zs/F1X5khV0+aMLek1tCTQ0PiYPMSveVZa1KqAzMYGCGemCSqW8f1cl0hTMmXpvkpd9nkLyvdiOtc48fzDlc1PZYa/vQZdBCtcWqz6tLZzs="}
06:30:32 T:4924 M:4162318336 NOTICE: -->Python Interpreter Initialized<--
06:30:32 T:4924 M:4162093056 NOTICE: {'limit': '4'}
06:30:36 T:1052 M:4159127552 NOTICE: Storing total System Uptime
06:30:36 T:1052 M:4159082496 NOTICE: Saving settings
06:30:36 T:1052 M:4159049728 NOTICE: stop all
06:30:36 T:1052 M:4159049728 NOTICE: ES: Stopping event server
06:30:36 T:4164 M:4158980096 NOTICE: ES: UDP Event server stopped
06:30:36 T:1052 M:4159008768 NOTICE: stop sap announcement listener
06:30:36 T:1052 M:4159008768 NOTICE: clean cached files!
06:30:36 T:1052 M:4159000576 NOTICE: unload skin
06:30:36 T:1052 M:4171694080 NOTICE: stop python
06:30:36 T:1052 M:4258197504 NOTICE: stopped
06:30:36 T:1052 M:4258197504 NOTICE: destroy
06:30:36 T:1052 M:4258254848 NOTICE: unload sections
Reply
#83
Thanks so much for this add-on, BlueCop!

I have one noob question, though...does it only show stuff that we don't have to pay additional fees for (or that we have already paid for), or, if we select an item that has a rental (or purchase) fee, will this add-on make that purchase for us?

I'm trying to make sure that, when I set it up, we don't accidentally purchase things we weren't planning on.

Sorry if this question has been asked before or whatever, but I could not find an answer.

Thanks!!
Reply
#84
sylvantrails: I never plan to implement purchasing with in the plug-in because I don't want to deal with the possible problems. you would have to purchase anything through the website.

It should only display prime eligible movies. It won't purchase anything. You could add purchased items to your watchlist . It would just play a trailer if you weren't authorized for it.

in the future this is the proper support thread for the plugin.
http://forum.xbmc.org/showthread.php?tid=108124
Reply
#85
Thanks! That's what I thought, I just wanted to confirm.

(And, I thought I was posting in the other thread...SORRY!!!)
Reply
#86
I bumped the python version and got the addon working. It won't authenticate though. Anyone played with this addon lately?
Reply
#87
(2014-10-03, 01:14)mascondante Wrote: I bumped the python version and got the addon working. It won't authenticate though. Anyone played with this addon lately?

LMFAO! I Just slapped a Jetblue sticker on my car... how fast till i'm in the air?
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply

Logout Mark Read Team Forum Stats Members Help
[REQUEST] Amazon Prime Instant Video addon (similar to Netflix)0