119
120
121
122
123
124
125
126
127
128
129
130
131
132
133 | else:
data = self.api(
"stations/search",
{
self.tagmap[conf.radiobrowser_cat]: cat,
"hidebroken": "true",
"order": "click",
"limit": conf.max_streams * 2
}
)
#data = self.api("stations/" + self.catmap[conf.radiobrowser_cat] + "/" + cat)
if len(data) >= 5000:
data = data[0:5000]
self.status(0.75) |
|
| 119
120
121
122
123
124
125
126
127
128
129
130
131
132
133 | else:
data = self.api(
"stations/search",
{
self.tagmap[conf.radiobrowser_cat]: cat,
"hidebroken": "true",
"order": "click",
"limit": conf.max_streams
}
)
#data = self.api("stations/" + self.catmap[conf.radiobrowser_cat] + "/" + cat)
if len(data) >= 5000:
data = data[0:5000]
self.status(0.75) |