3 # Rec10 TS Recording Tools
4 # Copyright (C) 2009 Yukikaze
9 for bctype, ontv, chtxt, ch, csch, updatetime in rec10d.rec10db.select_all_chdata():
10 print {"txt":bctype + "," + ontv + "," + chtxt + "," + ch + "," + csch + "," + updatetime, "ch":ch}
13 #value=line.split(",")
14 if task["type"] == "res":#"res,"+chtxt+","+title+","+btime+","+etime+","+opt
20 print "録画予約" + "," + chtxt + "," + title + "," + btime + "," + etime + "," + opt
21 elif task["type"] == "key":#"key,"+chtxt+","+keyword+","+btime+","+deltatime+","+opt
26 keyword = task['title']
27 deltatime = task['deltatime']
29 print "検索予約" + "," + chtxt + "," + keyword + "," + btime + "," + deltatime + "," + opt
30 elif task["type"] == "keyevery":#"keyevery,"+chtxt+","+keyword+","+btime+","+deltatime+","+opt+","+deltaday
35 keyword = task['title']
36 deltatime = task['deltatime']
38 deltaday = task['deltaday']
39 print "隔日予約" + "," + chtxt + "," + keyword + "," + btime + "," + deltatime + "," + opt + "," + deltaday
40 elif task["type"] == "rec":#"rec,"+chtxt+","+title+","+btime+","+etime+","+opt
47 print "予約最終" + "," + chtxt + "," + title + "," + btime + "," + etime + "," + opt