34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# streams and gui
class internet_radio (ChannelPlugin):
# description
title = "InternetRadio"
module = "internet_radio"
homepage = "http://www.internet-radio.org.uk/"
listformat = "pls"
# category map
categories = []
current = ""
default = ""
# load genres
def update_categories(self):
html = http.get(self.homepage)
rx = re.compile("""="/stations/[-+&.\w\s%]+/">([^<]+)<""")
|
|
<
<
<
<
<
<
<
<
|
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# streams and gui
class internet_radio (ChannelPlugin):
# control data
listformat = "pls"
categories = []
# load genres
def update_categories(self):
html = http.get(self.homepage)
rx = re.compile("""="/stations/[-+&.\w\s%]+/">([^<]+)<""")
|