dp.append(os.path.join(path,title+"_1.mp3"))
dp.append(os.path.join(path,title+"_2.mp3"))
dp.append(os.path.join(path,title+".srt"))
- if configreader.getenv("remove_ts")==1:
+ if configreader.getenv("remove_ts")=="1":
dp.append(os.path.join(path,title+".ts"))
if os.path.exists(os.path.join(path,title+".ts"))and os.path.exists(os.path.join(path,title+".ts.b25")):
if os.path.getsize(os.path.join(path,title+".ts"))*10>os.path.getsize(os.path.join(path,title+".ts.b25")):
dp.append(os.path.join(path,title+"_1.mp3"))\r
dp.append(os.path.join(path,title+"_2.mp3"))\r
dp.append(os.path.join(path,title+".srt"))\r
- if configreader.getenv("remove_ts")==1:\r
+ if configreader.getenv("remove_ts")=="1":\r
dp.append(os.path.join(path,title+".ts"))\r
if os.path.exists(os.path.join(path,title+".ts"))and os.path.exists(os.path.join(path,title+".ts.b25")):\r
if os.path.getsize(os.path.join(path,title+".ts"))*10>os.path.getsize(os.path.join(path,title+".ts.b25")):\r