XLordKX / kodi

kodi plugins & addons
211 stars 80 forks source link

no more watchlist / can't play any movies or series #30

Open dora71 opened 8 years ago

dora71 commented 8 years ago

Since yesterday (2015-09-15), Amazon seems to have changed URLs (again?). I cannot access my watchlist (script error) and if I try to watch a video directly, it is the same script error. Didn't change anything in KODI itself, a new install didn't solve the problem. However, I still can see covers and can navigate to films and series.

Here is the log: 14:04:11 T:2912212032 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

TobiMob commented 8 years ago

Same problem here. Looks like Amazon returns a 404 error for the user agent string, used by the plugin (:cry:) .

The addon has a file "default.py". Line ~98 defines the user agent:

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"

I changed mine to this:

userAgent = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36"

It works for me now. Could you please check if this also works for you?

modkin commented 8 years ago

I had the same Problem and this solution did work for me.

Thank you!

rpkZarathustra commented 8 years ago

Works for me, too.

Great Job!

stefan-jung commented 8 years ago

Works for me, too. (Linux/Arch)

claell commented 8 years ago

Can this get integrated into the addon, please?

dora71 commented 8 years ago

OK, with the change of the user agent string, I now can access again my watchlists. I still have a buffering problem (which I had quite a time ago, but has disappeared for a long time now), but I will check that later on. What I can say so far, that it is working again for me too. I am using kodi on a Raspberry Pi.

Thandror commented 8 years ago

I hope this fix will be integrated soon :)

p-val commented 8 years ago

Great! It works, thank you TobiMob... (pi2, osmc)

cue108 commented 8 years ago

SolidRun - OpenElec 6 Beta It works but buffering takes a very long time now! Its like 3% buffering after 5 Minutes.

c-MM commented 8 years ago

Works for me too. (x86/debian/kodi 14.1)

TobiMob commented 8 years ago

29 could fix this

cue108 commented 8 years ago

Thanx TobiMob. userAgentString from #29 did also fix the buffering thing for me. "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0"

XLordKX commented 8 years ago

Going to fix it this evening. Thanks for providing a solution. :) Am 17.09.2015 20:32 schrieb "cue108" notifications@github.com:

Thanx TobiMob. userAgentString from #29 https://github.com/XLordKX/kodi/pull/29 did also fix the buffering thing for me. "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0"

— Reply to this email directly or view it on GitHub https://github.com/XLordKX/kodi/issues/30#issuecomment-141179732.

OmaRichter commented 8 years ago

Great work! Thanks a lot!

claell commented 8 years ago

@XLordKX Thanks

tarator commented 8 years ago

@XLordKX Great, thanks!

walterheisenberg commented 8 years ago

Again not working today (2015-09-29). Please have a look here: http://www.kodinerds.net/index.php/Thread/43912-RELEASE-Amazon-Prime-Instant-Video-US-UK-DE/?postID=251506#post251506

The link to the video is created correctly, but Kodi can't play it.