37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# open source radio sharing stie
class myoggradio(ChannelPlugin):
# settings
title ="MOR"
module = "myoggradio"
api = "http://www.myoggradio.org/"
listformat = "url/direct"
# hide unused columns
titles = dict(playing=False, listeners=False, bitrate=False)
# category map
categories = ['common', 'personal']
default = 'common'
current = 'common'
# netrc instance
netrc = None
# prepare GUI
def __init__(self, parent):
ChannelPlugin.__init__(self, parent)
if parent:
uikit.add_menu(parent.extensions, "Share in MyOggRadio", self.share)
# this is simple, there are no categories
def update_categories(self):
pass
|
|
|
|
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# open source radio sharing stie
class myoggradio(ChannelPlugin):
# settings
title ="MOR"
#module = "myoggradio"
api = "http://www.myoggradio.org/"
listformat = "url/direct"
# hide unused columns
titles = dict(playing=False, listeners=False, bitrate=False)
# category map
categories = ['common', 'personal']
default = 'common'
current = 'common'
# netrc instance
netrc = None
# prepare GUI
def __init__(self, parent):
ChannelPlugin.__init__(self, parent)
if parent:
uikit.add_menu([parent.extensions, parent.extensions_context], "Share in MyOggRadio", self.share)
# this is simple, there are no categories
def update_categories(self):
pass
|