[RELEASE] Viki.com Video Add-on - Asian Drama MOVIES & TV Shows

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dknlght Offline
Fan
Posts: 615
Joined: Nov 2007
Reputation: 18
Post: #271
I posted the latest version of my repo in the first post so install it if you are having problems



(2015-08-15 02:47)CarCraft007 Wrote:  i am getting viki error on ver 1.1.33. using on win10.

please post a log so I can see what the error is.

though donation is not necessary but just in case you want to: Donate Here
find quote
CarCraft007 Offline
Junior Member
Posts: 3
Joined: Jun 2015
Reputation: 0
Post: #272
(2015-08-15 04:31)dknlght Wrote:  I posted the latest version of my repo in the first post so install it if you are having problems



(2015-08-15 02:47)CarCraft007 Wrote:  i am getting viki error on ver 1.1.33. using on win10.

please post a log so I can see what the error is.



23:24:46 T:4596 NOTICE: ============================ POSTING ANALYTICS ============================
23:24:46 T:4596 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\XYZ\AppData\Roaming\Kodi\addons\plugin.video.viki\default.py", line 1001, in <module>
HOME(translator)
File "C:\Users\ZYZ\AppData\Roaming\Kodi\addons\plugin.video.viki\default.py", line 195, in HOME
addDir(staticlist[1],'search',12,'')
IndexError: list index out of range
-->End of Python script error report<--
23:24:46 T:768 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
23:24:46 T:4596 INFO: Python script stopped
23:24:46 T:4596 DEBUG: Thread LanguageInvoker 4596 terminating
23:24:46 T:9672 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
23:24:46 T:768 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.viki/
23:24:46 T:768 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.viki/) failed
23:24:46 T:768 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video)
23:24:46 T:768 DEBUG: ParentPath = [addons://sources/]
23:24:46 T:576 NOTICE: Thread BackgroundLoader start, auto delete: false
(This post was last modified: 2015-08-15 20:43 by CarCraft007.)
find quote
dknlght Offline
Fan
Posts: 615
Joined: Nov 2007
Reputation: 18
Post: #273
this actually looks like an error with my real-time translation feature. For now, until I fix it, go into addon settings and disable the "enable translation" option. This feature uses google translate to translate the addon menu and option into any language that google supports. Did not look like anyone used it so I hadn't developed it any further

(2015-08-15 06:35)CarCraft007 Wrote:  
(2015-08-15 04:31)dknlght Wrote:  I posted the latest version of my repo in the first post so install it if you are having problems



(2015-08-15 02:47)CarCraft007 Wrote:  i am getting viki error on ver 1.1.33. using on win10.

please post a log so I can see what the error is.



23:24:46 T:4596 NOTICE: ============================ POSTING ANALYTICS ============================
23:24:46 T:4596 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\XYZ\AppData\Roaming\Kodi\addons\plugin.video.viki\default.py", line 1001, in <module>
HOME(translator)
File "C:\Users\ZYZ\AppData\Roaming\Kodi\addons\plugin.video.viki\default.py", line 195, in HOME
addDir(staticlist[1],'search',12,'')
IndexError: list index out of range
-->End of Python script error report<--
23:24:46 T:768 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
23:24:46 T:4596 INFO: Python script stopped
23:24:46 T:4596 DEBUG: Thread LanguageInvoker 4596 terminating
23:24:46 T:9672 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
23:24:46 T:768 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.viki/
23:24:46 T:768 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.viki/) failed
23:24:46 T:768 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video)
23:24:46 T:768 DEBUG: ParentPath = [addons://sources/]
23:24:46 T:576 NOTICE: Thread BackgroundLoader start, auto delete: false

though donation is not necessary but just in case you want to: Donate Here
find quote
scott967 Offline
Posting Freak
Posts: 1,408
Joined: Jul 2012
Reputation: 40
Post: #274
I did find one error when randomly testing. I was trying to open an episode and the script failed in getVidQuality. Apparently when it sent the request it got back data
NOTICE: {u'vcode': 401, u'error': u'unauthorized'}
which it couldn't handle.

Code:
10:15:13 T:7104  NOTICE: mode is:4
10:15:13 T:7104  NOTICE: ============================ POSTING TRACK EVENT ============================
10:15:14 T:7104  NOTICE: ============================ POSTING ANALYTICS ============================
10:15:14 T:4288   DEBUG: ------ Window Init (DialogBusy.xml) ------
10:15:14 T:7104  NOTICE: http://api.viki.io/v4/videos/1044935v.json?app=65535a&t=1439669714&site=www.viki.com&sig=d4adfe74e64984a266dc8706537dad50af4b85b1
10:15:14 T:7104  NOTICE: http://api.viki.io/v4/videos/1044935v/streams.json?app=65535a&t=1439669714&site=www.viki.com&sig=f635114011101f32f55b8021b808207c46a47b42
10:15:14 T:7104  NOTICE: http://api.viki.io/v4/videos/1044935v.json?app=65535a&t=1439669714&site=www.viki.com&sig=d4adfe74e64984a266dc8706537dad50af4b85b1
10:15:14 T:7104  NOTICE: http://api.viki.io/v4/videos/1044935v/streams.json?app=65535a&t=1439669714&site=www.viki.com&sig=f635114011101f32f55b8021b808207c46a47b42
10:15:14 T:7104  NOTICE: http://api.viki.io/v4/videos/1044935v/subtitles/en.srt?app=65535a&t=1439669714&site=www.viki.com&sig=594726fcf9a81b1b3b4e6f9f427ce74611a0b507
10:15:15 T:7104  NOTICE: {u'vcode': 401, u'error': u'unauthorized'}
10:15:15 T:7104   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: 'int' object is not iterable
                                            Traceback (most recent call last):
                                              File "E:\Media\Kodi 15.0 Full\portable_data\addons\plugin.video.viki\default.py", line 1007, in <module>
                                                getVidQuality(url,name,filename,True)
                                              File "E:\Media\Kodi 15.0 Full\portable_data\addons\plugin.video.viki\default.py", line 715, in getVidQuality
                                                for seas in mydata:
                                            TypeError: 'int' object is not iterable
                                            -->End of Python script error report<--

But every other episode I tried from different series worked. So I checked in Viki web site via Firefox browser, and for that series "We Got Married Global Edition Season 2" it says "not available in your region". So I guess the data returned is correct and the plugin could check for this and handle it. But that's not a biggie since either way the result for the user is the same.

Settings in use:

Code:
<settings>
    <setting id="enableProxy" value="false" />
    <setting id="enableTrans" value="false" />
    <setting id="ga_time" value="2015-08-15 09:37:58" />
    <setting id="ga_visitor" value="1688894707" />
    <setting id="region" value="0" />
    <setting id="translang" value="en" />
</settings>

scott s.
.
find quote
dknlght Offline
Fan
Posts: 615
Joined: Nov 2007
Reputation: 18
Post: #275
my solution to the "not available in your region" issue was my proxy feature in the addon settings, which allowed you to pick a different region to access the video from but looks like the proxy site I'm using must have changed. I'll have to look at fixing that feature as well.

(2015-08-15 22:26)scott967 Wrote:  I did find one error when randomly testing. I was trying to open an episode and the script failed in getVidQuality. Apparently when it sent the request it got back data
NOTICE: {u'vcode': 401, u'error': u'unauthorized'}
which it couldn't handle.

Code:
10:15:13 T:7104  NOTICE: mode is:4
10:15:13 T:7104  NOTICE: ============================ POSTING TRACK EVENT ============================
10:15:14 T:7104  NOTICE: ============================ POSTING ANALYTICS ============================
10:15:14 T:4288   DEBUG: ------ Window Init (DialogBusy.xml) ------
10:15:14 T:7104  NOTICE: http://api.viki.io/v4/videos/1044935v.json?app=65535a&t=1439669714&site=www.viki.com&sig=d4adfe74e64984a266dc8706537dad50af4b85b1
10:15:14 T:7104  NOTICE: http://api.viki.io/v4/videos/1044935v/streams.json?app=65535a&t=1439669714&site=www.viki.com&sig=f635114011101f32f55b8021b808207c46a47b42
10:15:14 T:7104  NOTICE: http://api.viki.io/v4/videos/1044935v.json?app=65535a&t=1439669714&site=www.viki.com&sig=d4adfe74e64984a266dc8706537dad50af4b85b1
10:15:14 T:7104  NOTICE: http://api.viki.io/v4/videos/1044935v/streams.json?app=65535a&t=1439669714&site=www.viki.com&sig=f635114011101f32f55b8021b808207c46a47b42
10:15:14 T:7104  NOTICE: http://api.viki.io/v4/videos/1044935v/subtitles/en.srt?app=65535a&t=1439669714&site=www.viki.com&sig=594726fcf9a81b1b3b4e6f9f427ce74611a0b507
10:15:15 T:7104  NOTICE: {u'vcode': 401, u'error': u'unauthorized'}
10:15:15 T:7104   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: 'int' object is not iterable
                                            Traceback (most recent call last):
                                              File "E:\Media\Kodi 15.0 Full\portable_data\addons\plugin.video.viki\default.py", line 1007, in <module>
                                                getVidQuality(url,name,filename,True)
                                              File "E:\Media\Kodi 15.0 Full\portable_data\addons\plugin.video.viki\default.py", line 715, in getVidQuality
                                                for seas in mydata:
                                            TypeError: 'int' object is not iterable
                                            -->End of Python script error report<--

But every other episode I tried from different series worked. So I checked in Viki web site via Firefox browser, and for that series "We Got Married Global Edition Season 2" it says "not available in your region". So I guess the data returned is correct and the plugin could check for this and handle it. But that's not a biggie since either way the result for the user is the same.

Settings in use:

Code:
<settings>
    <setting id="enableProxy" value="false" />
    <setting id="enableTrans" value="false" />
    <setting id="ga_time" value="2015-08-15 09:37:58" />
    <setting id="ga_visitor" value="1688894707" />
    <setting id="region" value="0" />
    <setting id="translang" value="en" />
</settings>

scott s.
.

though donation is not necessary but just in case you want to: Donate Here
find quote
contentryder Offline
Junior Member
Posts: 12
Joined: Jul 2015
Reputation: 0
Post: #276
(2015-08-15 22:22)dknlght Wrote:  this actually looks like an error with my real-time translation feature. For now, until I fix it, go into addon settings and disable the "enable translation" option. This feature uses google translate to translate the addon menu and option into any language that google supports. Did not look like anyone used it so I hadn't developed it any further

I posted the latest version of my repo in the first post so install it if you are having problems

Thanks! This worked for me too!!
(This post was last modified: 2015-08-17 02:17 by contentryder.)
find quote
sviet2k Offline
Junior Member
Posts: 10
Joined: Aug 2015
Reputation: 0
Post: #277
Hi dknlght,

Thanks for this wonderfull addon.
Is this addon compatible with Kodi 16 ?
The addon does not display subtitle in Kodi 16.
Can you please show me how to fix this sub problem ?

Thanks a lot in advance for your help
find quote
FlashPan Offline
Senior Member
Posts: 101
Joined: Nov 2011
Reputation: 1
Location: London, UK
Post: #278
Wohoo Smile I got this addon installed.

I do have one request though. Can you please enable the addon to list Japanese drama? I can see other countries except Japan. I know Viki does not have as much content as others but really hard to browse through to find though.

Thanks once again, you made my Mrs happy (She's Japanese).

Confusion is just a state of mind.
find quote
Post Reply