From 4667c82cc1963b34c957d87087c008b5b459e290 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Sun, 4 Nov 2018 19:16:46 +0000 Subject: [PATCH] Feat: new keyboard shortcuts u - update database r - rescan database --- htdocs/js/mympd.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/htdocs/js/mympd.js b/htdocs/js/mympd.js index a4edd23..209298b 100644 --- a/htdocs/js/mympd.js +++ b/htdocs/js/mympd.js @@ -635,6 +635,12 @@ function appInit() { case 67: //c sendAPI({"cmd": "MPD_API_QUEUE_CLEAR"}); break; + case 85: //u + updateDB(); + break; + case 82: //r + rescanDB(); + break; default: return; }