aboutsummaryrefslogtreecommitdiff
path: root/nncmpp.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'nncmpp.adoc')
-rw-r--r--nncmpp.adoc14
1 files changed, 13 insertions, 1 deletions
diff --git a/nncmpp.adoc b/nncmpp.adoc
index 2fc8361..eaebfc3 100644
--- a/nncmpp.adoc
+++ b/nncmpp.adoc
@@ -69,7 +69,7 @@ colors = {
scrollbar = ""
}
streams = {
- "dnbradio.com" = "http://www.dnbradio.com/hi.m3u"
+ "dnbradio.com" = "https://dnbradio.com/hi.pls"
"BassDrive.com" = "http://bassdrive.com/v2/streams/BassDrive.pls"
}
....
@@ -85,6 +85,18 @@ To adjust key bindings, put them within a *normal* or *editor* object.
Run *nncmpp* with the *--debug* option to find out key combinations names.
Press *?* in the help tab to learn the action identifiers to use.
+You may also define and bind your own actions, launching arbitrary
+shell commands. Note that you cannot override internal actions in this manner.
+
+....
+actions = {
+ "pioneer-on-off" = {
+ description = "Pioneer amplifier: turn on/off"
+ command = "elksmart-comm --nec A538"
+ }
+}
+....
+
Spectrum visualiser
-------------------
When built against the FFTW library, *nncmpp* can make use of MPD's "fifo"