3 # Rec10 TS Recording Tools
4 # Copyright (C) 2009 Yukikaze
8 def ontvsearch(ontvin):
10 for datum in rec10d.rec10db.select_by_ontv_epg_ch(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_epg_ch(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_epg_ch(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_epg_ch(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_epg_ch():
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_epg_ch("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":