elif opts.tssearch:
tsmovepath=""
try:
- tsmovepath=unicode(configreader.getpath("ts_movepath"),'utf-8',700)
+ tsmovepath=unicode(configreader.getpath("ts_movepath"),'utf-8')
except:
""
if tsmovepath!="":
sa=auto_move.search_file(recpath, recordedpath,".ts")
for t in sa:
- sf=searchFolder(t,recordedpath)
+ sf=searchFolder(t,recordedpath,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")
elif opts.tsmove:
tsmovepath=""
try:
- tsmovepath=unicode(configreader.getpath("ts_movepath"),'utf-8',700)
+ tsmovepath=unicode(configreader.getpath("ts_movepath"),'utf-8')
except:
""
if tsmovepath!="":
sa=auto_move.search_file(recpath, recordedpath,".ts")
for t in sa:
- sf=searchFolder(t,recordedpath)
+ sf=searchFolder(t,recordedpath,700)
if sf!="":
recdblist.printutf8(u"移動先")
recdblist.printutf8(t+" : "+os.path.join(sf, auto_move.get_move_dest_path(t, recpath,sf,".ts")+".ts"))