Update qbittorrent_worker.py

This commit is contained in:
Mr Chen
2019-01-24 17:39:59 +08:00
parent 243c1d2291
commit 8ac906f11e
@@ -133,12 +133,14 @@ class downloadBT(Thread):
self.execShell('mkdir -p ' + m3u8_dir)
cmd_tc = self.fg_transfer_cmd(file, tdfile)
print 'cmd_tc:', cmd_tc
data_tc = self.execShell(cmd_tc)
print 'tc:', data_tc
m3u8_file = m3u8_dir + '/' + md5file + '.m3u8'
tofile = FILE_TO + '/m3u8/' + md5file + '/%03d.ts'
cmd_mc = self.fg_m3u8_cmd(tdfile, tofile)
print 'cmd_mc:', cmd_mc
data_mc = self.execShell(cmd_tc)
print 'mc:', data_mc