63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81 | # some defaults
def defaults(self):
self.play = {
"audio/mpeg": "audacious ", # %u for url to .pls, %g for downloaded .m3u
"audio/ogg": "audacious ",
"audio/*": "totem ",
"video/*": "vlc --one-instance %srv",
"record": "x-terminal-emulator -e streamripper %srv",
# x-terminal-emulator -e streamripper %srv -d /home/***USERNAME***/Musik
"url/http": "sensible-browser",
}
self.record = {
}
self.plugins = {
"bookmarks": 1, # built-in plugins, cannot be disabled
"shoutcast": 1,
"xiph": 1,
"file": 0, # disable per default
"punkcast": 0, # disable per default |
<
<
>
>
| 63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81 | # some defaults
def defaults(self):
self.play = {
"audio/mpeg": "audacious ", # %u for url to .pls, %g for downloaded .m3u
"audio/ogg": "audacious ",
"audio/*": "totem ",
"video/*": "vlc --one-instance %srv",
"url/http": "sensible-browser",
}
self.record = {
"audio/*": "xterm -e streamripper %srv", # -d /home/***USERNAME***/Musik
"video/youtube": "xterm -e youtube-dl %srv",
}
self.plugins = {
"bookmarks": 1, # built-in plugins, cannot be disabled
"shoutcast": 1,
"xiph": 1,
"file": 0, # disable per default
"punkcast": 0, # disable per default |