OSDN Git Service

fix logo import bugs.
[rec10/rec10-git.git] / rec10 / trunk / src / scan_ch.py
index 1a6e751..60d8f7f 100644 (file)
@@ -17,6 +17,7 @@ import tv2ts
 tmppath = configreader.getConfPath("tmp")+"/"
 tssplitterp = configreader.getConfPath("tssplitter")
 def searchCh():
+    rec10d.rec10db.change_installed_in_status(2)
     #地上デジタル
     for i in xrange(13,62):#62
         recdblist.printuft8ex(u"チャンネルスキャン:地上デジタル CH "+str(i), 200, 200)
@@ -71,6 +72,7 @@ def searchCh():
     if checkTs("CS24")>0:
         recdblist.printuft8ex(u"チャンネルスキャン:CSSデジタル CH:CS24", 200, 200)
         addCh("CS24","cs2","CS")
+    rec10d.rec10db.change_installed_in_status(100)
 def checkTs(ch):
     tv2ts.tv2b25ts(os.path.join(tmppath,"ch_"+str(ch)+".ts"), ch, "1")
     if os.path.exists(os.path.join(tmppath,"ch_"+str(ch)+".ts")):