OSDN Git Service

implement ch scan system.(alpha)
[rec10/rec10-git.git] / rec10 / trunk / src / chdata.py
index e1a9b28..249aeb0 100644 (file)
@@ -10,12 +10,12 @@ import rec10d
 
 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")))