@@ -50,10 +50,11 @@ "history": [] } default = "favourite" fixed_size = [32,24] reserved_names = ["favourite", "radiotray", "scripts", "search", "timer", "history", "links", "themes"] #+ self.parent.features.keys() + category_plugins = {} # cache list, to determine if a PLS url is bookmarked urls = [] @@ -69,11 +70,10 @@ if len(self.categories) < 2 or type(self.categories[1]) is not list: self.categories.insert(1, []) self.categories[1] = cust_cats # but category sub-plugins might provide a hook - category_plugins = {} def update_streams(self, cat): if cat in self.category_plugins: return self.category_plugins[cat].update_streams(cat) or [] else: return self.streams.get(cat, [])