Internet radio browser GUI for music/video streams from various directory services.

⌈⌋ branch:  streamtuner2


Artifact Content

Artifact 5930bd839a77a5cbd9013be2e053a13bd7efbf74:

Wiki page [radiotray] by mario on 2018-12-31 21:29:21.
D 2018-12-31T21:29:21.009
L radiotray
N text/x-markdown
P 746b16b4c83a297402ac22561f297e7b07db2d31
U mario
W 1839
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>`.

| "root"  | is just meant for the old Radiotray format. |
| "group" | tries to fit genres onto existing submenus. |
| "category" | maps ont existing submenus just from the channel category. |
| "channel" | instead creates new `Shoutcast - Rock` submenu entries. |
| "asis" | will transfer the literal station genre (or list of genres). |
| "play" | for RT-NG to stream instantly (no bookmarking) |



#### 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 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.


Z bf0357c7ccae8f0d32e19039d3802884