Supporto Torrent

This commit is contained in:
Alhaziel
2020-03-12 17:37:15 +01:00
parent bb0b35d92e
commit f75ec7aa20
164 changed files with 3586 additions and 95 deletions

View File

@@ -7,13 +7,18 @@
import base64
import os.path
import re
import traceback
try:
from python_libtorrent import get_libtorrent
import xbmc, xbmcgui
except:
pass
lt = get_libtorrent()
except Exception, e:
import libtorrent as lt
from platformcode import config
LIBTORRENT_PATH = config.get_setting("libtorrent_path", server="torrent", default='')
from servers import torrent as torr
lt, e, e1, e2 = torr.import_libtorrent(LIBTORRENT_PATH)
class Cache(object):