52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
"EN": ("http://www.surfmusic.de/", "format/", "country/"),
}
categories = []
titles = dict( genre="Genre", title="Station", playing="Location", bitrate=False, listeners=False )
# Set channel title
def __init__(self, parent=None):
ChannelPlugin.__init__(self, parent)
# title updating is a workaround, because the fixed .meta attribute are read first
self.title = ("SurfMusik", "SurfMusic")[conf.get("surfmusik_lang", "EN") == "EN"]
self.meta["title"] = self.title
# just a static list for now
def update_categories(self):
|
|
<
|
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
"EN": ("http://www.surfmusic.de/", "format/", "country/"),
}
categories = []
titles = dict( genre="Genre", title="Station", playing="Location", bitrate=False, listeners=False )
# Set channel title
def init2(self, parent=None):
# title updating is a workaround, because the fixed .meta attribute are read first
self.title = ("SurfMusik", "SurfMusic")[conf.get("surfmusik_lang", "EN") == "EN"]
self.meta["title"] = self.title
# just a static list for now
def update_categories(self):
|