Index: st2.py ================================================================== --- st2.py +++ st2.py @@ -67,10 +67,11 @@ # standard modules import sys import os, os.path import re from collections import namedtuple +from copy import copy # threading or processing module try: from processing import Process as Thread except: @@ -624,10 +625,11 @@ # stations for row in cn.streams[cat]: # assemble text fields to compare text = " ".join([row.get(f, " ") for f in fields]) if text.lower().find(self.q) >= 0: + row = copy(row) row["genre"] = c + " " + row.get("genre", "") entries.append(row) self.show_results(entries) # display "search" in "bookmarks" @@ -1047,10 +1049,11 @@ # update bookmarks from freshly loaded streams data def heuristic_update(self, updated_channel, updated_category): if not conf.heuristic_bookmark_update: return + __print__(dbg.ERR, "heuristic bookmark update") save = 0 fav = self.streams["favourite"] # First we'll generate a list of current bookmark stream urls, and then # remove all but those from the currently UPDATED_channel + category.