pull/109/head
Mr Chen 6 years ago
parent 46619ca5cd
commit 69f4814575
  1. 5
      plugins/qbittorrent/conf/qb.sql
  2. 1
      plugins/qbittorrent/workers/qbittorrent_worker.py

@ -1,8 +1,7 @@
CREATE TABLE `download_list` ( CREATE TABLE `pl_hash_list` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`info_hash` varchar(40) NOT NULL,
`data_hash` varchar(32) NOT NULL,
`name` varchar(255) NOT NULL, `name` varchar(255) NOT NULL,
`info_hash` varchar(40) NOT NULL,
`length` bigint(20) NOT NULL, `length` bigint(20) NOT NULL,
`create_time` datetime NOT NULL, `create_time` datetime NOT NULL,
PRIMARY KEY (`id`), PRIMARY KEY (`id`),

@ -211,6 +211,7 @@ class downloadBT(Thread):
os.system(cmd_m3u8) os.system(cmd_m3u8)
self.execShell('chown -R ' + FILE_OWN + ':' + self.execShell('chown -R ' + FILE_OWN + ':' +
FILE_GROUP + ' ' + m3u8_dir) FILE_GROUP + ' ' + m3u8_dir)
print self.query("insert into pl_download_list (`info_hash`) values('1221')")
else: else:
print self.debug('m3u8 exists:' + tofile) print self.debug('m3u8 exists:' + tofile)
# self.unlock(md5file) # self.unlock(md5file)

Loading…
Cancel
Save