X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=rec10%2Ftrunk%2Fsrc%2Fclassify.py;h=d7fe312ac9ea50af9da28fb0f15cffc8b518acd1;hb=1f28f81e52a9bf969c63c8e96abc3d39f531969e;hp=13fa6b43d4746b53f2e6f2f978ca42fa76d26d0a;hpb=232d7d83551ba2a0455360429eaf1f5d1b51c4ef;p=rec10%2Frec10-git.git diff --git a/rec10/trunk/src/classify.py b/rec10/trunk/src/classify.py index 13fa6b4..d7fe312 100644 --- a/rec10/trunk/src/classify.py +++ b/rec10/trunk/src/classify.py @@ -428,12 +428,12 @@ if __name__ == "__main__": except: "" if tsmovepath!="": - sa=auto_move.search_file(recpath, recordedpath,".ts") + sa=auto_move.search_file(recpath, tsmovepath,".ts") for t in sa: - sf=auto_move.searchFolder(t,recordedpath,700) + sf=auto_move.searchFolder(t,tsmovepath,700) if sf!="": recdblist.printutf8(t+u" : "+os.path.join(sf, auto_move.get_move_dest_path(t, recpath,sf,".ts")+".ts")) - sa=auto_move.search_file(recpath, recordedpath,".ts") + sa=auto_move.search_file(recpath, tsmovepath,".ts") else: recdblist.printutf8(u"ts_movepathが設定されていません。/etc/rec10.confを設定してください。") elif opts.tsmove: @@ -443,14 +443,14 @@ if __name__ == "__main__": except: "" if tsmovepath!="": - sa=auto_move.search_file(recpath, recordedpath,".ts") + sa=auto_move.search_file(recpath, tsmovepath,".ts") for t in sa: - sf=auto_move.searchFolder(t,recordedpath,700) + sf=auto_move.searchFolder(t,tsmovepath,700) if sf!="": recdblist.printutf8(u"移動先") recdblist.printutf8(t+" : "+os.path.join(sf, auto_move.get_move_dest_path(t, recpath,sf,".ts")+".ts")) recdblist.printutf8(u"実行中") - auto_move.execMove(t, recpath, recordedpath,".ts",0) - sa=auto_move.search_file(recpath, recordedpath,".ts") + auto_move.execMove(t, recpath, tsmovepath,".ts",0) + sa=auto_move.search_file(recpath, tsmovepath,".ts") else: recdblist.printutf8(u"ts_movepathが設定されていません。/etc/rec10.confを設定してください。") \ No newline at end of file