Posts: 37
Joined: Mar 2014
Reputation:
1
jan-g
Junior Member
Posts: 37
nice find, most of these are very hard to come by. thanks for the link, bookmarked it right away.
Posts: 136
Joined: Dec 2015
Reputation:
2
Vielen dank, LORE! This is very cool of you to add this. Can't thank you enough. Sorry it took me so long to respond.
Posts: 207
Joined: Feb 2013
Reputation:
6
L0RE
Senior Member
Posts: 207
@Wanderlust:
New Version it sould work (o.k THis Evening the Page wasnt very stable)
The error was thinking all files have subs. Solaris is Dubbed, so the file was missing
New Version in the Repo
Posts: 136
Joined: Dec 2015
Reputation:
2
LORE, just tried it again over morning teas, and Solaris still not working on my end. Shame it's dubbed though. Subtitles are generally better than the almost always terrible subbing. Cheers.
Posts: 207
Joined: Feb 2013
Reputation:
6
L0RE
Senior Member
Posts: 207
2016-09-26, 23:12
(This post was last modified: 2016-09-28, 23:46 by L0RE.)
Sorry for the Late answer . Could you aktivate debug logging. And send it to me
Posts: 3
Joined: Oct 2017
Reputation:
1
Hi, I found this thread via google. I tried the plugin yesterday with KODI and a raspi and get an error immediately. I get this in the log:
20:34:03.127 T:1858073504 ERROR: Unable to find plugin
20:34:03.127 T:1945248320 ERROR: GetDirectory - Error getting plugin://
20:34:03.129 T:1945248320 ERROR: CGUIMediaWindow::GetDirectory(plugin://) failed
20:34:43.112 T:1945248320 ERROR: Control 55 in window 10025 has been asked to focus, but it can't
20:34:44.998 T:1434444704 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'urllib2.URLError'>
Error Contents: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.sovietmoviesonline/default.py", line 178, in <module>
menu()
File "/storage/.kodi/addons/plugin.video.sovietmoviesonline/default.py", line 120, in menu
inhalt = geturl(url)
File "/storage/.kodi/addons/plugin.video.sovietmoviesonline/default.py", line 110, in geturl
inhalt = urllib2.urlopen(req).read()
File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
File "/usr/lib/python2.7/urllib2.py", line 435, in open
File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
File "/usr/lib/python2.7/urllib2.py", line 467, in error
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
File "/usr/lib/python2.7/urllib2.py", line 654, in http_error_302
File "/usr/lib/python2.7/urllib2.py", line 429, in open
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)>
-->End of Python script error report<--
20:34:45.076 T:1945248320 ERROR: GetDirectory - Error getting plugin://plugin.video.sovietmoviesonline/
20:34:45.077 T:1945248320 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.sovietmoviesonline/) failed
I'd guess some certifcate is missing. I'd appreciate any help. I know some python etc. but I'm quite new to KODI.
Posts: 3
Joined: Oct 2017
Reputation:
1
If anyone else stumbles over here because of this problem, I fixed it with this diff (disabling certificate verification and some minor corrections because some names changed):
$ diff -c default.py-orig default.py
*** default.py-orig 2017-10-14 14:27:01.000000000 +0200
--- default.py 2017-10-14 14:26:54.000000000 +0200
***************
*** 9,14 ****
--- 9,15 ----
import xbmc
import xbmcvfs
import urllib, urllib2, socket, cookielib, re, os, shutil,json
+ import ssl
import time
from datetime import datetime
***************
*** 32,38 ****
global text
text=addon.getSetting("text")
global mainurl
! mainurl="http://sovietmoviesonline.com"
profile = xbmc.translatePath( addon.getAddonInfo('profile') ).decode("utf-8")
temp = xbmc.translatePath( os.path.join( profile, 'temp', '') ).decode("utf-8")
--- 33,39 ----
global text
text=addon.getSetting("text")
global mainurl
! mainurl="https://sovietmoviesonline.com"
profile = xbmc.translatePath( addon.getAddonInfo('profile') ).decode("utf-8")
temp = xbmc.translatePath( os.path.join( profile, 'temp', '') ).decode("utf-8")
***************
*** 107,120 ****
cj = cookielib.CookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
req = urllib2.Request(url)
! inhalt = urllib2.urlopen(req).read()
return inhalt
def menu():
global text
if text=="EN":
! url=mainurl+"/en/"
else:
url=mainurl
inhalt = geturl(url)
--- 108,122 ----
cj = cookielib.CookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
req = urllib2.Request(url)
! context = ssl._create_unverified_context()
! inhalt = urllib2.urlopen(req, context=context).read()
return inhalt
def menu():
global text
if text=="EN":
! url=mainurl
else:
url=mainurl
inhalt = geturl(url)
***************
*** 126,132 ****
def Filme(url):
content = geturl(mainurl+url)
! spl = content.split('<!--smallMovie-->')
for i in range(1, len(spl), 1):
entry = spl[i]
match=re.compile('<div class="year".+?>(.+?)</div>', re.DOTALL).findall(entry)
--- 128,134 ----
def Filme(url):
content = geturl(mainurl+url)
! spl = content.split('<!--small movie-->')
for i in range(1, len(spl), 1):
entry = spl[i]
match=re.compile('<div class="year".+?>(.+?)</div>', re.DOTALL).findall(entry)
***************
*** 136,142 ****
match=re.compile('src="(.+?)"', re.DOTALL).findall(entry)
bild=match[0]
debug("Bild : "+ mainurl+bild)
! match=re.compile('<div class="smallTitle">(.+?)</div>', re.DOTALL).findall(entry)
title1=match[0]
match=re.compile('</div>([^<]+)</div>', re.DOTALL).findall(entry)
title2=match[0]
--- 138,144 ----
match=re.compile('src="(.+?)"', re.DOTALL).findall(entry)
bild=match[0]
debug("Bild : "+ mainurl+bild)
! match=re.compile('<div class="small-title">(.+?)</div>', re.DOTALL).findall(entry)
title1=match[0]
match=re.compile('</div>([^<]+)</div>', re.DOTALL).findall(entry)
title2=match[0]