From ffd1258d26bf1a5e8261a48d49b27dec8c74fcce Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 23 Jan 2019 19:50:46 +0800 Subject: [PATCH] Update qbittorrent_worker.py --- plugins/qbittorrent/workers/qbittorrent_worker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/qbittorrent/workers/qbittorrent_worker.py b/plugins/qbittorrent/workers/qbittorrent_worker.py index 1aaa3b426..6def944fe 100755 --- a/plugins/qbittorrent/workers/qbittorrent_worker.py +++ b/plugins/qbittorrent/workers/qbittorrent_worker.py @@ -119,6 +119,7 @@ class downloadBT(Thread): self.execShell(cmd) def video_do(self, dir): + return '' def checkTask(self): @@ -135,9 +136,11 @@ class downloadBT(Thread): if len(torrents) > 0: for torrent in torrents: path = torrent['save_path'] + torrent['name'] + self.video_do(path) print path, torrent # self.ffmpeg( # '/Users/midoks/Desktop/www/btplayer/public/video/test.mp4') + print time.time(), "done task!" else: print time.time(), "no task!" time.sleep(3)