mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update qbittorrent_worker.py
This commit is contained in:
@@ -116,6 +116,7 @@ class downloadBT(Thread):
|
|||||||
m3u8_file + ' -segment_time 5 ' + tofile
|
m3u8_file + ' -segment_time 5 ' + tofile
|
||||||
print cmd
|
print cmd
|
||||||
data = self.execShell(cmd)
|
data = self.execShell(cmd)
|
||||||
|
print data
|
||||||
if data[0] != '':
|
if data[0] != '':
|
||||||
print data
|
print data
|
||||||
|
|
||||||
@@ -175,7 +176,6 @@ class downloadBT(Thread):
|
|||||||
for torrent in torrents:
|
for torrent in torrents:
|
||||||
path = torrent['save_path'] + torrent['name']
|
path = torrent['save_path'] + torrent['name']
|
||||||
self.video_do(path)
|
self.video_do(path)
|
||||||
# print torrent
|
|
||||||
print time.time(), "done task!"
|
print time.time(), "done task!"
|
||||||
else:
|
else:
|
||||||
print time.time(), "no task!"
|
print time.time(), "no task!"
|
||||||
|
|||||||
Reference in New Issue
Block a user