Check-in [a872fb7d36]
Overview
| Comment: | Split up Extensions› submenus. Register major plugins (timer, myoggradio, radiotray) as direct menu entries, but complex extensions (exportcat) as subentry still. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
a872fb7d36a84d1c530768f2ce41b548 |
| User & Date: | mario on 2015-04-07 19:49:25 |
| Other Links: | manifest | tags |
Context
|
2015-04-07
| ||
| 22:19 | Added some notes about "Export all" plugin. List streams#actions as topic in index.page check-in: 97bb4bbfe9 user: mario tags: trunk | |
| 19:49 | Split up Extensions› submenus. Register major plugins (timer, myoggradio, radiotray) as direct menu entries, but complex extensions (exportcat) as subentry still. check-in: a872fb7d36 user: mario tags: trunk | |
| 19:48 | Fix main. references from bookmarks callback. check-in: 5a772b3c64 user: mario tags: trunk | |
Changes
Makefile became a regular file with contents [d3f05bad3b].
| ︙ |
Modified channels/myoggradio.py from [cdf48de82f] to [acdf73781d].
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | - + | # api: streamtuner2 # title: MyOggRadio # description: Open source internet radio directory. # type: channel # category: radio |
| ︙ | |||
24 25 26 27 28 29 30 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | - + - + | # # 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 * |
| ︙ | |||
62 63 64 65 66 67 68 | 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | - + + |
# prepare GUI
def __init__(self, parent):
ChannelPlugin.__init__(self, parent)
if parent:
|
| ︙ | |||
180 181 182 183 184 185 186 187 188 189 190 | 181 182 183 184 185 186 187 188 189 190 191 192 193 | + + |
def user_pw(self):
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]]
else:
self.parent.status("No login data for MyOggRadio configured. See F12 for setup, or F1 for help.");
pass
|
Modified channels/radiotray.py from [f93c102d40] to [6a4e939185].
| ︙ | |||
71 72 73 74 75 76 77 | 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | - - + |
# create category
self.bm.add_category("radiotray", plugin=self);
self.bm.streams["radiotray"] = self.update_streams(cat="radiotray")
self.bm.reload_if_current(self.module)
# add context menu
|
| ︙ |
Modified channels/timer.py from [0dc91cdebf] to [242512e240].
| ︙ | |||
45 46 47 48 49 50 51 | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | - + + - + |
# kronos scheduler list
sched = None
# prepare gui
def __init__(self, parent):
|
| ︙ |
Modified gtk3.xml.gz from [4a4edf99dd] to [636af55d84].
cannot compute difference between binary files
Modified uikit.py from [594d66e076] to [0158bdc6ec].
| ︙ | |||
431 432 433 434 435 436 437 | 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 | - + + + + - + |
b.pack_start(w1, expand=not exr, fill=not exr)
b.pack_start(w2, expand=exr, fill=exr)
return b
# Attach textual menu entry and callback
@staticmethod
|
| ︙ |