1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
|
The new [channels/radiotray.py](doc/trunk/channels/radiotray.py) plugin allows to bookmark stations from Streamtuner2 directly to RadioTray (or now Radiotray-NG).
<img src="raw/7ed462e132339bea84a7ab8084bb4d773d0b555b?m=image/png">
See also the configuration options, on how Streamtuner2 maps stations onto RadioTray bookmark `<groups>`. Might need more work for Radiotray-NG.
#### new Radiotray-NG
The currently maintained version of RT is [https://github.com/ebruck/radiotray-ng](https://github.com/ebruck/radiotray-ng)
* Issue: [#92](https://github.com/ebruck/radiotray-ng/issues/92) brought support for the direct "play" option already.
* Saving is done directly into radiotry-ng/bookmarks.json.
* A DBUS mode might come later (might be difficult to incorporate into the main app).
#### old Radiotray
The original version is no longer maintained.
It'll require a patch for RT however, so it accepts the proposed DBUS request.
It did require a patch for RT however, so it accepts the proposed DBUS request.
If you want to apply it manually, find `/usr/share/pyshared/radiotray/DbusFacade.py` and add following snippet:
@dbus.service.method('net.sourceforge.radiotray')
def addRadio(self, title, url, group="root"):
self.dataProvider.addRadio(title, url, group)
Add it after `playUrl` or something. Just take care to keep it coherently indented.
I've opened a feature request [#242](https://bitbucket.org/carlmig/radio-tray/issue/242/new-dbus-method-addradio) for this.
Same for RT-NG: [#92](https://github.com/ebruck/radiotray-ng/issues/92), albeit this moreso requires support from the maintainers (not overly versed with C++).
See also the configuration options, on how Streamtuner2 maps stations onto RadioTray bookmark `<groups>`. Might need more work for Radiotray-NG.
|