From 37dbadcfc85859f216d664094d34740b38a4573e Mon Sep 17 00:00:00 2001 From: gn64_jp Date: Mon, 15 Nov 2010 15:02:22 +0000 Subject: [PATCH] auto delete b25 function updated. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@755 4e526526-5e11-4fc0-8910-f8fd03428081 --- rec10/trunk/src/auto_process.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rec10/trunk/src/auto_process.py b/rec10/trunk/src/auto_process.py index 66d5a11..7ae3bb5 100644 --- a/rec10/trunk/src/auto_process.py +++ b/rec10/trunk/src/auto_process.py @@ -255,7 +255,9 @@ def deltmpfile(path,title,ext): dp=[] if level > 0 : 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")): + if os.path.getsize(os.path.join(path,title+".ts"))*12>os.path.getsize(os.path.join(path,title+".ts.b25")): + dp.append(os.path.join(path,title+".ts.b25")) + elif os.path.getsize(os.path.join(path,title+".ts"))>200*1000*1000: dp.append(os.path.join(path,title+".ts.b25")) if level > 4 : if configreader.getenv("remove_ts")=="1": -- 2.11.0