Check-in [84228576fb]
Overview
Comment: | Register config options. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
84228576fbfcc6ad53bba95e8c4e58ba |
User & Date: | mario on 2015-11-11 21:02:31 |
Other Links: | manifest | tags |
Context
2015-11-12
| ||
22:10 | Planning on JIT record function (streamripper in background). check-in: e7e8ee0da9 user: mario tags: trunk | |
2015-11-11
| ||
21:02 | Register config options. check-in: 84228576fb user: mario tags: trunk | |
20:57 | Alternatively kill fPls check-in: e260975f4c user: mario tags: trunk | |
Changes
Modified channels/timer.py from [f126a64016] to [fb89c13112].
1 2 3 4 5 6 7 | # # api: streamtuner2 # title: Recording timer # description: Schedules play/record events for bookmarked radio stations. # type: feature # category: hook # depends: kronos, action >= 1.1.1 | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # # api: streamtuner2 # title: Recording timer # description: Schedules play/record events for bookmarked radio stations. # type: feature # category: hook # depends: kronos, action >= 1.1.1 # version: 0.7.4 # config: # { name: timer_duration, type: select, select: "auto|streamripper|fpls", value: none, description: support for time ranges } # priority: optional # support: unsupported # # Provides an internal timer, to configure recording and playback times/intervals # for stations. It accepts a natural language time string when registering a stream. # # Context menu > Extension > Add timer |
︙ | ︙ | |||
51 52 53 54 55 56 57 58 59 60 61 62 63 64 | # prepare gui def __init__(self, parent): if not parent: return # keep reference to main window self.parent = parent self.bookmarks = parent.bookmarks # add menu uikit.add_menu([parent.streammenu, parent.streamactions], "Add timer for station", self.edit_timer, insert=4) | > | 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | # prepare gui def __init__(self, parent): if not parent: return conf.add_plugin_defaults(self.meta, self.module) # keep reference to main window self.parent = parent self.bookmarks = parent.bookmarks # add menu uikit.add_menu([parent.streammenu, parent.streamactions], "Add timer for station", self.edit_timer, insert=4) |
︙ | ︙ |