•   
  • 1
  • 22
  • 23
  • 24(current)
  • 25
  • 26
  • 32
  •   
[RELEASE] Amazon Prime Instant Video (US/UK/DE)
this plugin will not work anymore.
http://heavy.com/tech/2015/09/amazon-ins...t-fire-4k/

kodi plugin used the ids of google tv devices (no drm). this is not possible anymore.
Reply
(2015-09-16, 20:24)skydivertricky Wrote:
(2015-09-16, 19:49)tyborall Wrote: Just change this in default.py like me:

opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
#userAgent = "Mozilla/5.0 (X11; U; Linux i686; en-EN) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Large Screen Safari/533.4 GoogleTV/ 162671"
userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:10.0) Gecko/20100101 Firefox/10.0"
opener.addheaders = [('User-agent', userAgent)]

Surely that wont work on windows?

Apparently it does Smile
Reply
For non-coding morons like me can you please tell me where I can find the file (win 8.1) and what exactly I have to change.

Thanks
Reply
Many thx @ tyborall

For me on linux this default.py file is located at ~/.xbmc/addons/plugin.video.prime_instant/
On windows it should be in the invisble folder c:\Users\your username\AppData\Roaming or c:\Users\your username\AppData\Local and then the same like on linux.
Reply
(2015-09-16, 21:16)MadScientist Wrote: For non-coding morons like me can you please tell me where I can find the file (win 8.1) and what exactly I have to change.

Thanks

For me (addon v1.1.6) it is located at
C:\Users\<me>\AppData\Roaming\Kodi\addons\plugin.video.prime_instant\default.py

The lines to change are 98/99
Just copy/paste what tyborall posted over the top of the same lines
Reply
Many thanks , I'll give it a go
Reply
Thumbs Up 
(2015-09-16, 19:49)tyborall Wrote: Just change this in default.py like me:

opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
#userAgent = "Mozilla/5.0 (X11; U; Linux i686; en-EN) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Large Screen Safari/533.4 GoogleTV/ 162671"
userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:10.0) Gecko/20100101 Firefox/10.0"
opener.addheaders = [('User-agent', userAgent)]

Fixed my 404 errors on Ubuntu when streaming from amazon.co.uk - great stuff. Cheers Smile
Reply
That fix did not work for me. It killed the addon completely. I pasted the original text back and it works the same as before.

OpenELEC 5.95.5
Intel NUC i5
USA
Reply
I think Amazon has blocked the UserAgent.
So I just replaced this line in /.kodi/addons/plugin.video.prime_instant/default.py:
Code:
userAgent = "Mozilla/5.0 (X11; U; Linux i686; en-EN) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Large Screen Safari/533.4 GoogleTV/ 162671"

with this line:
Code:
userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:10.0) Gecko/20100101 Firefox/10.0"
Reply
Maybe someone has a Google TV on latest firmware and can check actual UserAgent string and post it here?
Reply
(2015-09-17, 00:59)tyborall Wrote: I think Amazon has blocked the UserAgent.
So I just replaced this line in /.kodi/addons/plugin.video.prime_instant/default.py:
Code:
userAgent = "Mozilla/5.0 (X11; U; Linux i686; en-EN) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.127 Large Screen Safari/533.4 GoogleTV/ 162671"

with this line:
Code:
userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:10.0) Gecko/20100101 Firefox/10.0"

This made no difference at all.

In "TV Shows", the only available videos are: Sneaky Pete & Casanova (Amazon Originals : Pilot Season 2015. Also, in "My Library", there's Walking Dead & Weeds - both have nothing inside. All the other sub-categories are blank with a "Next" folder that pops up.

OpenELEC 5.95.5
Intel NUC i5
USA
Reply
Anyone? Any luck? Maybe someone can HTTP sniff some devices that work with Prime Video and then customize the user strings? Or maybe we just launch a browser in Linux and find an easy way to use it.
Reply
I'm in EU/Germany and I have no problem with watching any content now.
I can watch any movie or series I want and is included in prime package (i have prime subscription).
Reply
I'm in UK and that change is working for me, only SD with 2 channel sound though.

userAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:10.0) Gecko/20100101 Firefox/10.0"
Reply
Also in the UK with the addon now working - thanks tyborall. I haven't checked the definition though.

I had to play around with the code mofification to get it working - spaces in front of the lines seemed to kill it
Reply
  •   
  • 1
  • 22
  • 23
  • 24(current)
  • 25
  • 26
  • 32
  •   



Logout Mark Read Team Forum Stats Members Help
[RELEASE] Amazon Prime Instant Video (US/UK/DE)6
This forum uses Lukasz Tkacz MyBB addons.