OSDN Git Service

add logo search.
[rec10/rec10-git.git] / rec10 / trunk / src / chdb.py
index e542ff8..bfea9a4 100644 (file)
@@ -59,7 +59,6 @@ def update():
     CSupdate = 0
     CS2update = 0
     BSupdate = 0
-    HUupdate = 0
     rec10d.rec10db.set_new_status("8")
     for datum in rec10d.rec10db.select_get_update_epg_ch("6"):
         bctype = datum[0]
@@ -79,4 +78,15 @@ def update():
             ret.append(bctype)
     return ret
 def changeCHShow(chtxt,isshow):
-    rec10d.rec10db.change_visible_epg_ch(chtxt, isshow)
\ No newline at end of file
+    rec10d.rec10db.change_visible_epg_ch(chtxt, isshow)
+def updateLogo():
+    ret=[]
+    BSCSUpdate=0
+    for datum in rec10d.rec10db.select_get_updatelogo_epg_ch("720"):
+        bctype=datus[0]
+        if bctype == "cs1" or bctype == u"cs1":
+            ret.append(u"bs")
+            BSCSUpdate=1
+        else:
+            ret.append(bctype)
+    return ret