3 # Rec10 TS Recording Tools
4 # Copyright (C) 2009 Yukikaze
8 def ontvsearch(ontvin):
10 for datum in rec10d.rec10db.select_by_ontv_chdata(ontvin):
11 rett={'bctype':datum[0],'ontv':datum[1],'chtxt':datum[2],'ch':datum[3],'csch':datum[4],'update':datum[5]}
16 def chtxtsearch(chtxtin):
18 for datum in rec10d.rec10db.select_by_chtxt_chdata(chtxtin):
19 rett={'bctype':datum[0],'ontv':datum[1],'chtxt':datum[2],'ch':datum[3],'csch':datum[4],'update':datum[5]}
24 def bctypesearch(bctypein):
26 for datum in rec10d.rec10db.select_by_bctype_chdata(bctypein):
27 rett={'bctype':datum[0],'ontv':datum[1],'chtxt':datum[2],'ch':datum[3],'csch':datum[4],'update':datum[5]}
34 for datum in rec10d.rec10db.select_by_ch_chdata(chin):
35 rett={'bctype':datum[0],'ontv':datum[1],'chtxt':datum[2],'ch':datum[3],'csch':datum[4],'update':datum[5]}
42 for datum in rec10d.rec10db.select_all_chdata():
43 rett={'bctype':datum[0],'ontv':datum[1],'chtxt':datum[2],'ch':datum[3],'csch':datum[4],'update':datum[5]}
53 for datum in rec10d.rec10db.select_get_update_chdata("6"):
55 if bctype=="cs1" or bctype==u"cs1":
59 elif bctype=="cs2" or bctype==u"cs2":
63 elif bctype=="bs" or bctype==u"bs":