Check-in [6a17061df0]
Overview
Comment: | Add plugin defaults. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
6a17061df025deaa879aa0890cbe2502 |
User & Date: | mario on 2015-04-19 19:35:07 |
Other Links: | manifest | tags |
Context
2015-04-19
| ||
19:35 | Experiment with a few more target types. Works with a few text editors on STRING. Most just want a uri-list, but can't handle it. check-in: e0e28edba2 user: mario tags: trunk | |
19:35 | Add plugin defaults. check-in: 6a17061df0 user: mario tags: trunk | |
16:36 | Implement basic exporting and conversion for drag-and-drop. Needs to buffer implicit playlist file, because data_get() gets called excessively. Still support direct M3U/PLS/XSPF transfers (should any other application ever understand it), and direct URL transmission. No import functionality yet, but internal JSON format prepared as target type. check-in: 8c7de37e5e user: mario tags: trunk | |
Changes
Modified channels/radiotray.py from [6a4e939185] to [1ad37964fc].
︙ | |||
64 65 66 67 68 69 70 71 72 73 74 75 76 77 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | + | # hook up to main tab def __init__(self, parent): # keep reference to main window self.parent = parent self.bm = parent.channels["bookmarks"] conf.add_plugin_defaults(self.meta, self.module) # 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 |
︙ |