kodi 17 fix
parent
ba8d5ac74f
commit
0032f49ab9
|
@ -1,5 +1,5 @@
|
||||||
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
|
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
|
||||||
<addon id='script.module.libtorrent' version='1.0.9' name='python-libtorrent' provider-name='DiMartino, srg70, RussakHH, aisman'>
|
<addon id='script.module.libtorrent' version='1.0.9a' name='python-libtorrent' provider-name='DiMartino, srg70, RussakHH, aisman'>
|
||||||
<requires>
|
<requires>
|
||||||
<import addon='xbmc.python' version='2.1.0'/>
|
<import addon='xbmc.python' version='2.1.0'/>
|
||||||
</requires>
|
</requires>
|
||||||
|
|
|
@ -23,7 +23,8 @@
|
||||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
from python_libtorrent import get_libtorrent, get_platform, log
|
from python_libtorrent.python_libtorrent import get_libtorrent, log
|
||||||
|
from python_libtorrent.platform_pulsar import get_platform
|
||||||
import xbmcgui
|
import xbmcgui
|
||||||
import xbmcaddon, xbmc
|
import xbmcaddon, xbmc
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
#-*- coding: utf-8 -*-
|
||||||
|
'''
|
||||||
|
python-libtorrent for Kodi (script.module.libtorrent)
|
||||||
|
Copyright (C) 2015-2016 DiMartino, srg70, RussakHH, aisman
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of this software and associated documentation files (the
|
||||||
|
"Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be
|
||||||
|
included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
'''
|
|
@ -35,7 +35,7 @@ __icon__=os.path.join(xbmc.translatePath('special://home'), 'addons',
|
||||||
'script.module.libtorrent', 'icon.png')
|
'script.module.libtorrent', 'icon.png')
|
||||||
__language__ = __settings__.getLocalizedString
|
__language__ = __settings__.getLocalizedString
|
||||||
|
|
||||||
from platform_pulsar import get_platform, get_libname
|
from ..platform_pulsar import get_platform, get_libname
|
||||||
|
|
||||||
def log(msg):
|
def log(msg):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue