path = str(os.path.dirname(os.path.abspath(__file__))) + "/"
-def chadd(bctype, ontv, chtxt, ch, csch):#すべて文字列
- rec10d.rec10db.add_epg_ch(bctype, ontv, chtxt, ch, csch, u"2010-01-01 00:00:00")
+def chadd(bctype, chtxt, ch, csch):#すべて文字列
+ rec10d.rec10db.add_epg_ch(bctype,chtxt, ch, csch, u"2010-01-01 00:00:00")
def chlistadd(cl):
if len(cl)>0:
for c in cl:
- chadd(c[0],c[1],c[2],c[3],c[4])
+ chadd(c[0],c[1],c[2],c[3])
def new_chdata(bs,cs):
rec10d.rec10db.new_epg_ch()
chlistadd(getChList(os.path.join(path,"chlist.xml")))