From b18328980e7c7920e15adcc0bfd6b03b34d3cb7e Mon Sep 17 00:00:00 2001 From: gn64_jp Date: Wed, 8 Dec 2010 00:07:50 +0000 Subject: [PATCH] fix rename error. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/rec10@792 4e526526-5e11-4fc0-8910-f8fd03428081 --- rec10/trunk/src/classify.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rec10/trunk/src/classify.py b/rec10/trunk/src/classify.py index b967010..34aef6e 100644 --- a/rec10/trunk/src/classify.py +++ b/rec10/trunk/src/classify.py @@ -40,7 +40,7 @@ if __name__ == "__main__": recdblist.printutf8(os.path.join(sf, auto_move.getMoveDestpath(ltitle,recpath,sf,".mp4")+".mp4"),verbose_level=100) print "\n" elif opts.auto:##-A の場合 - sa=auto_move.search_file(recpath, recordedpath, ".mkv") + sa=auto_move.searchFile(recpath, recordedpath, ".mkv") for t in sa: recdblist.printutf8(u"自動推測実行中-MKV",verbose_level=100) sf=guess.searchFolder(t,recordedpath) @@ -63,14 +63,14 @@ if __name__ == "__main__": else: recdblist.printutf8(t+" can't find matching folder",verbose_level=100) elif opts.delete:##-Dの場合 - sa=auto_move.search_file(recpath, recordedpath,".mkv") + sa=auto_move.searchFile(recpath, recordedpath,".mkv") for t in sa: auto_move.execDelete(t, recpath) sa=auto_move.searchFile(recpath, recordedpath,".mp4") for t in sa: auto_move.execDelete(t, recpath) elif opts.list:##-lの場合 - sa=auto_move.search_file(recpath, recordedpath,".mkv") + sa=auto_move.searchFile(recpath, recordedpath,".mkv") for t in sa: sf=guess.searchFolder(t,recordedpath) if sf!="": @@ -108,15 +108,15 @@ if __name__ == "__main__": except: "" if tsmovepath!="": - sa=auto_move.search_file(recpath, tsmovepath,".ts") - searchFilein sa: + sa=auto_move.searchFile(recpath, tsmovepath,".ts") + for t in sa: sf=guess.searchFolder(t,tsmovepath,700) if sf!="": recdblist.printutf8(u"移動先",verbose_level=100) recdblist.printutf8(t+" : "+os.path.join(sf, auto_move.getMoveDestpath(t, recpath,sf,".ts")+".ts"),verbose_level=100) recdblist.printutf8(u"実行中",verbose_level=100) auto_move.execMove(t, recpath, tsmovepath,".ts",0) - sa=auto_move.search_file(recpath, tsmovepath,".ts") + sa=auto_move.searchFile(recpath, tsmovepath,".ts") else: recdblist.printutf8(u"ts_movepathが設定されていません。/etc/rec10.confを設定してください。",verbose_level=100) elif opts.seriespath!="":##-Sの場合##与えられたパスにシリーズがそろっているかを調べる。 -- 2.11.0