dl base update
parent
aa0cb59499
commit
5c58744e5f
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<addon id="plugin.video.torrenter" name="Torrenter" version="2.2.9" provider-name="vadim.skorba, DiMartino">
|
<addon id="plugin.video.torrenter" name="Torrenter" version="2.3.0" provider-name="vadim.skorba, DiMartino">
|
||||||
<requires>
|
<requires>
|
||||||
<import addon="xbmc.python" version="2.1.0"/>
|
<import addon="xbmc.python" version="2.1.0"/>
|
||||||
<import addon="script.module.libtorrent"/>
|
<import addon="script.module.libtorrent"/>
|
||||||
|
|
|
@ -1450,6 +1450,14 @@ class DownloadDB:
|
||||||
return x if x else None
|
return x if x else None
|
||||||
|
|
||||||
def get(self, title):
|
def get(self, title):
|
||||||
|
self._connect()
|
||||||
|
try:
|
||||||
|
self.cur.execute(
|
||||||
|
'select addtime, title, path, type, jsoninfo, status, torrent, ind, lastupdate, storage from downloads where title="' + decode(
|
||||||
|
title) + '"')
|
||||||
|
except:
|
||||||
|
Debug('[DownloadDB]: DELETE ' + str(self.filename))
|
||||||
|
xbmcvfs.delete(self.filename)
|
||||||
self._connect()
|
self._connect()
|
||||||
self.cur.execute(
|
self.cur.execute(
|
||||||
'select addtime, title, path, type, jsoninfo, status, torrent, ind, lastupdate, storage from downloads where title="' + decode(
|
'select addtime, title, path, type, jsoninfo, status, torrent, ind, lastupdate, storage from downloads where title="' + decode(
|
||||||
|
|
Loading…
Reference in New Issue