Feat: new keyboard shortcuts

u - update database
r - rescan database
This commit is contained in:
jcorporation 2018-11-04 19:16:46 +00:00
parent 66a59068ce
commit 4667c82cc1
1 changed files with 6 additions and 0 deletions

View File

@ -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;
}