104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
self.main.status("Server searching: " + cn.module)
log.PROC("has_search:", cn.module)
try:
add = cn.update_streams(cat=None, search=self.q)
for row in add:
row["genre"] = cn.meta["title"] + " " + row.get("genre", "")
entries += add
except:
log.WARN("server_search: update_streams error in {}:".format(cn.module), e)
continue
#main.status(main, 1.0 * i / 15)
uikit.do(self.show_results, entries)
# search text edited in text entry box
|
|
|
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
self.main.status("Server searching: " + cn.module)
log.PROC("has_search:", cn.module)
try:
add = cn.update_streams(cat=None, search=self.q)
for row in add:
row["genre"] = cn.meta["title"] + " " + row.get("genre", "")
entries += add
except Exception as e:
log.WARN("server_search: update_streams error in {}:".format(cn.module), e)
continue
#main.status(main, 1.0 * i / 15)
uikit.do(self.show_results, entries)
# search text edited in text entry box
|