ret.append(u"cs1")
CSupdate=1
print "csの番組表取得開始"
- rec10d.rec10db.update_by_bctype_chdata(bctype)
+ #rec10d.rec10db.update_by_bctype_chdata(bctype)
elif bctype=="cs2" or bctype==u"cs2":
if CS2update==0:
ret.append(u"cs2")
CS2update=1
print "cs2の番組表取得開始"
- rec10d.rec10db.update_by_bctype_chdata(bctype)
+ #rec10d.rec10db.update_by_bctype_chdata(bctype)
elif bctype=="bs" or bctype==u"bs":
if BSupdate==0:
ret.append(u"bs")
BSupdate=1
print "bsの番組表取得開始"
- rec10d.rec10db.update_by_bctype_chdata(bctype)
+ #rec10d.rec10db.update_by_bctype_chdata(bctype)
else:
ret.append(bctype)
print "取得開始"
- rec10d.rec10db.update_by_bctype_and_chtxt_chdata(bctype,chtxt)
- return ret
-#def viewall():
-# db=sqlite3.connect(dbpath)
-# for bctype, ontv, chtxt, ch, csch ,updatetime in db.execute("SELECT bctype,ontv,chtxt,ch,csch,updatetime FROM chdata"):
-# print (bctype+","+ontv+","+chtxt+","+ch+","+csch+","+updatetime)
-# db.close()
-#def updateall():
-
-#print ontvsearch("1062.ontvjapan.com")
+ #rec10d.rec10db.update_by_bctype_and_chtxt_chdata(bctype,chtxt)
+ return ret
\ No newline at end of file