.
D 2015-04-02T17:44:36.531
L radiotray
N text/x-markdown
P 28e367b53dd8f575c63625acaaf25bd1608fcbad
U mario
W 834
The new [channels/radiotray.py](doc/trunk/channels/radiotray.py) plugin allows to bookmark stations from Streamtuner2 directly to RadioTray.
It'll 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.
See also the configuration options, on how Streamtuner2 maps stations onto RadioTray bookmark `<groups>`.
Z afc0a9518e514136b9348b0b0aa037f6