39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
self.bm.reload_if_current(self.module)
# hook up to .play event
parent.hooks["play"].append(self.queue)
# add to favourites/history stream list
def queue(self, row):
# assert a present store
streams = self.bm.streams
if not "history" in streams:
streams["history"] = []
hist = streams["history"]
|
|
|
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
self.bm.reload_if_current(self.module)
# hook up to .play event
parent.hooks["play"].append(self.queue)
# add to favourites/history stream list
def queue(self, row, *x, **y):
# assert a present store
streams = self.bm.streams
if not "history" in streams:
streams["history"] = []
hist = streams["history"]
|