add helpful tip to people who find the console
authorMike Frysinger <vapier@gentoo.org>
Sun, 1 Sep 2013 08:23:57 +0000 (04:23 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 1 Sep 2013 08:23:57 +0000 (04:23 -0400)
main.js

diff --git a/main.js b/main.js
index b9d188deced4318cfd565942404e11cadabc3b32..1de6b6a4c18e8f254be18dbcc6acb6971c9220ef 100644 (file)
--- a/main.js
+++ b/main.js
@@ -79,6 +79,8 @@ function mpc_connect(host, port) {
                tcpclient.addResponseListener(tramp_mpc_recv);
                mpc = new Mpc(mpc_sender, update_ui);
                console.log('connected to ' + host + ':' + port);
+               console.log('protip: use the "mpc" object to poke mpd directly.\n' +
+                           'you can also do mpc.set_debug(3) to see traffic');
                mpc_refresh();
                update_refresh_timer();
        });