wesleyvandekerckhove / addonscriptorde-beta-repo

Automatically exported from code.google.com/p/addonscriptorde-beta-repo
0 stars 0 forks source link

Script Error when try to play any video #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to play any video

What is the expected output? What do you see instead?
Script Error

What version of the product are you using? On what operating system?
1.0.2 - UK
Kodi OpenELEC 5.0.8 on RasPi2

Please provide any additional information below.
I've installed without any problem. Logged in to UK with my username/pass, I 
can see all the titles, but when I try to play any of them receive Script Error.

Original issue reported on code.google.com by a...@marinoveng.co.uk on 23 May 2015 at 9:36

GoogleCodeExporter commented 9 years ago
same problem here

i'm using amazon instant video in Germany (DE)

when i try to play a video a script error ouccures

testet with OSMC on Raspberry Pi 2 and Windows 7 with Kodi Helix

Here is my Kodi Log Part with the Crash

I Have Tried it with several Series

10:55:54 T:600   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python 
callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "C:\Users\NB0010\AppData\Roaming\Kodi\addons\plugin.video.prime_instant\default.py", line 1078, in <module>
                                                playVideo(url, selectQuality=="true")
                                              File "C:\Users\NB0010\AppData\Roaming\Kodi\addons\plugin.video.prime_instant\default.py", line 628, in playVideo
                                                content = opener.open('https://'+apiMain+'.amazon.com/cdp/catalog/GetStreamingUrlSets?version=1&format=json&firmware=WIN%2011,7,700,224%20PlugIn&marketplaceID='+urllib.quote_plus(matchMID[0])+'&token='+urllib.quote_plus(matchToken[0])+'&deviceTypeID='+urllib.quote_plus(matchDID[0])+'&asin='+videoID+'&customerID='+urllib.quote_plus(matchCID[0])+'&deviceID='+urllib.quote_plus(matchCID[0])+str(int(time.time()*1000))+videoID).read()
                                            IndexError: list index out of range
                                            -->End of Python script error report<--
10:55:54 T:7084   ERROR: Playlist Player: skipping unplayable item: 0, path 
[plugin://plugin.video.prime_instant/?url=B00SZCQMD4&mode=playVideo]
10:55:54 T:8936  NOTICE: Thread BackgroundLoader start, auto delete: false

Original comment by Malfurio...@gmail.com on 27 May 2015 at 9:15

GoogleCodeExporter commented 9 years ago
i have found out that the amazon instant video plugin was originaly coded by 
lordk

he has already released a new version wich isn't in the addonscriptor repo

you can download the repo from lordk with the actual version of the plugin here

https://github.com/XLordKX/kodi/raw/master/zip/repository.xlordkx/repository.xlo
rdkx-1.0.0.zip

Original comment by Malfurio...@gmail.com on 27 May 2015 at 1:12