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:
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