self.new_in_settings()
self.close_db(db)
self.change_version_in_status("98")
- def update_db_98to99(self):
+ def update_db_98to100(self):
+ ###ここで前のepg_chをバックアップしてchtxtの変換をする必要がある。
db = self.connect_db()
self.drop_in_settings()
self.new_in_settings()
db[1].execute("\
+ UPDATE timeline INNER JOIN epg_ch ON timeline.chtxt=epg_ch.chtxt SET chtxt=CONCAT(CONCAT(epg_ch.ch,'_'),epg_ch.csch)")
+ db[1].execute("\
ALTER TABLE epg_ch DEL ontv")
db[1].execute("\
ALTER TABLE in_auto_jbk_key ADD auto TINYINT DEFAULT 0")
ALTER TABLE in_auto_jbk_key ADD opt VARCHAR(20)")
self.close_db(db)
self.change_installed_in_status()#チャンネルスキャンをさせる
- self.change_version_in_status("99")
\ No newline at end of file
+ self.change_version_in_status("100")
\ No newline at end of file
rec10d.rec10db.update_db_95to96()
elif version==96:
rec10d.rec10db.update_db_96to98()
+ elif version==98:
+ rec10d.rec10db.update_db_98to100()
if __name__ == "__main__":
move()