From: Mike Frysinger Date: Sun, 1 Sep 2013 08:23:57 +0000 (-0400) Subject: add helpful tip to people who find the console X-Git-Tag: v3.0~16 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4ed31ba857752d2d550dde24200a751574ffce8f;p=chrome-ext%2Fmusic-player-client.git add helpful tip to people who find the console --- 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(); });