From 4ed31ba857752d2d550dde24200a751574ffce8f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 1 Sep 2013 04:23:57 -0400 Subject: [PATCH] add helpful tip to people who find the console --- main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.js b/main.js index b9d188d..1de6b6a 100644 --- 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(); }); -- 2.39.5