72
73
74
75
76
77
78
|
72
73
74
75
76
77
78
79
|
+
|
The `has_search` class flag permits live server searches. If one is issued, the `update_streams()` method will be called with `cat=None` and `search="Find me maybe"` set instead.
* Other class options include `listformat="audio/x-scpls"` for declaring the station URL mime type (here `pls` for example).
* And `audioformat="audio/mpeg"` for the audio mime type.
* While `current=""` and `default="Pop"` can specify which category is visible per default, or currently active. (Both will be retired in later versions. More a clutch for current Gtk handling.)
* Other internal fields are listed in `channels/_generic.py`
To have a new plugin picked up, you need to copy/symlink the file into `/usr/share/streamtuner2/channels/`. It's imported from a local `./channels/` dir though, but the plugin finder currently just looks for the global directory.
|