recdblist.printutf8(os.path.join(sf, auto_move.getMoveDestpath(ltitle,recpath,sf,".mp4")+".mp4"),verbose_level=100)\r
print "\n"\r
elif opts.auto:##-A の場合\r
- sa=auto_move.search_file(recpath, recordedpath, ".mkv")\r
+ sa=auto_move.searchFile(recpath, recordedpath, ".mkv")\r
for t in sa:\r
recdblist.printutf8(u"自動推測実行中-MKV",verbose_level=100)\r
sf=guess.searchFolder(t,recordedpath)\r
else:\r
recdblist.printutf8(t+" can't find matching folder",verbose_level=100)\r
elif opts.delete:##-Dの場合\r
- sa=auto_move.search_file(recpath, recordedpath,".mkv")\r
+ sa=auto_move.searchFile(recpath, recordedpath,".mkv")\r
for t in sa:\r
auto_move.execDelete(t, recpath)\r
sa=auto_move.searchFile(recpath, recordedpath,".mp4")\r
for t in sa:\r
auto_move.execDelete(t, recpath)\r
elif opts.list:##-lの場合\r
- sa=auto_move.search_file(recpath, recordedpath,".mkv")\r
+ sa=auto_move.searchFile(recpath, recordedpath,".mkv")\r
for t in sa:\r
sf=guess.searchFolder(t,recordedpath)\r
if sf!="":\r
except:\r
""\r
if tsmovepath!="":\r
- sa=auto_move.search_file(recpath, tsmovepath,".ts")\r
- searchFilein sa:\r
+ sa=auto_move.searchFile(recpath, tsmovepath,".ts")\r
+ for t in sa:\r
sf=guess.searchFolder(t,tsmovepath,700)\r
if sf!="":\r
recdblist.printutf8(u"移動先",verbose_level=100)\r
recdblist.printutf8(t+" : "+os.path.join(sf, auto_move.getMoveDestpath(t, recpath,sf,".ts")+".ts"),verbose_level=100)\r
recdblist.printutf8(u"実行中",verbose_level=100)\r
auto_move.execMove(t, recpath, tsmovepath,".ts",0)\r
- sa=auto_move.search_file(recpath, tsmovepath,".ts")\r
+ sa=auto_move.searchFile(recpath, tsmovepath,".ts")\r
else:\r
recdblist.printutf8(u"ts_movepathが設定されていません。/etc/rec10.confを設定してください。",verbose_level=100)\r
elif opts.seriespath!="":##-Sの場合##与えられたパスにシリーズがそろっているかを調べる。\r