64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# hook up to main tab
def __init__(self, parent):
# keep reference to main window
self.parent = parent
self.bm = parent.channels["bookmarks"]
# create category
self.bm.add_category("radiotray", plugin=self);
self.bm.streams["radiotray"] = self.update_streams(cat="radiotray")
self.bm.reload_if_current(self.module)
# add context menu
|
>
|
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# hook up to main tab
def __init__(self, parent):
# keep reference to main window
self.parent = parent
self.bm = parent.channels["bookmarks"]
conf.add_plugin_defaults(self.meta, self.module)
# create category
self.bm.add_category("radiotray", plugin=self);
self.bm.streams["radiotray"] = self.update_streams(cat="radiotray")
self.bm.reload_if_current(self.module)
# add context menu
|