1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-26 11:00:27 +00:00

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

View File

@ -635,6 +635,12 @@ function appInit() {
case 67: //c case 67: //c
sendAPI({"cmd": "MPD_API_QUEUE_CLEAR"}); sendAPI({"cmd": "MPD_API_QUEUE_CLEAR"});
break; break;
case 85: //u
updateDB();
break;
case 82: //r
rescanDB();
break;
default: default:
return; return;
} }