16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 | 16
17
18
19
20
21
22
23
24
25
26
27
28
29 |
-
| # well with streamtuner2, there's now a project partnership. Shared streams can easily
# be downloaded in this channel plugin. And streamtuner2 users can easily share their
# favourite stations into the MyOggRadio directory.
#
# Beforehand an account needs to be configured in the settings. (Registration
# on myoggradio doesn't require an email address or personal information.)
#
from channels import *
from config import conf
from action import action
from uikit import uikit
import ahttp as http |
177
178
179
180
181
182
183
184
185
186
187 | 176
177
178
179
180
181
182
183
184
185 |
-
| if len(conf.myoggradio_login) and conf.myoggradio_login != "user:password":
return conf.myoggradio_login.split(":")
else:
lap = conf.netrc(["myoggradio", "myoggradio.org", "www.myoggradio.org"])
if lap:
return [lap[0] or lap[1], lap[2]]
pass
|