From a226c3c019ce812eaa8041b9d09a60f6baa9894e Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 23 Jan 2019 20:59:50 +0800 Subject: [PATCH] Update qbittorrent_worker.py --- plugins/qbittorrent/workers/qbittorrent_worker.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/qbittorrent/workers/qbittorrent_worker.py b/plugins/qbittorrent/workers/qbittorrent_worker.py index c4c8a4648..7f172a692 100755 --- a/plugins/qbittorrent/workers/qbittorrent_worker.py +++ b/plugins/qbittorrent/workers/qbittorrent_worker.py @@ -114,7 +114,9 @@ class downloadBT(Thread): cmd = 'ffmpeg -i ' + file + ' -c copy -map 0 -f segment -segment_list ' + \ m3u8_file + ' -segment_time 5 ' + tofile print cmd - print self.execShell(cmd) + data = self.execShell(cmd) + if data[0] != '': + print data def file_arr(self, path, filters=['.DS_Store']): file_list = []