forked from ChoiZ/xbmc-plugin.audio.addictradio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddon.py
More file actions
executable file
·18 lines (14 loc) · 781 Bytes
/
addon.py
File metadata and controls
executable file
·18 lines (14 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from xbmcswift2 import Plugin, xbmcgui
plugin = Plugin()
@plugin.route('/')
def main_menu():
items = [
{'label': plugin.get_string(30000), 'path': "http://stream1.addictradio.net/addictalternative", 'is_playable': True},
{'label': plugin.get_string(30001), 'path': "http://stream1.addictradio.net/addictlounge", 'is_playable': True},
{'label': plugin.get_string(30002), 'path': "http://stream1.addictradio.net/addictrock", 'is_playable': True},
{'label': plugin.get_string(30003), 'path': "http://stream1.addictradio.net/addictstar", 'is_playable': True},
{'label': plugin.get_string(30004), 'path': "http://stream1.addictradio.net/addictldg", 'is_playable': True},
]
return items
if __name__ == '__main__':
plugin.run()