1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# api: dbus
# title: RadioTray hook
# description: Allows to bookmark stations to RadioTray
# version: 0.2
# type: feature
# category: bookmarks
# depends: deb:python-dbus, deb:streamtuner2, deb:python-xdg
# priority: extra
# id: streamtuner2-radiotray
# pack: radiotray.py=/usr/share/streamtuner2/channels/
#
# Adds a context menu "Keep in RadioTray.." to bookmark streams
# in RadioTray. Until a newer version exposes addRadio(), this
# plugin will fall back to just playUrl().
|
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# api: dbus
# title: RadioTray hook
# description: Allows to bookmark stations to RadioTray
# version: 0.2
# type: feature
# category: bookmarks
# depends: deb:python-dbus, deb:streamtuner2, deb:python-xdg
# config: -
# url: http://radiotray.sourceforge.net/
# priority: extra
# id: streamtuner2-radiotray
# pack: radiotray.py=/usr/share/streamtuner2/channels/
#
# Adds a context menu "Keep in RadioTray.." to bookmark streams
# in RadioTray. Until a newer version exposes addRadio(), this
# plugin will fall back to just playUrl().
|
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# not a channel plugin, just a category in bookmarks, and a context menu
class radiotray:
# plugin info
module = "radiotray"
title = "RadioTray"
meta = plugin_meta()
# configuration settings
config = [
]
# bookmarks cat
parent = None
bm = None
# radiotray config file / bookmarks
rt_xml = "%s/%s/%s" % (xdg_data_home, "radiotray", "bookmarks.xml")
|
<
<
<
|
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# not a channel plugin, just a category in bookmarks, and a context menu
class radiotray:
# plugin info
module = "radiotray"
title = "RadioTray"
meta = plugin_meta()
# bookmarks cat
parent = None
bm = None
# radiotray config file / bookmarks
rt_xml = "%s/%s/%s" % (xdg_data_home, "radiotray", "bookmarks.xml")
|