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:
parent
66a59068ce
commit
4667c82cc1
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user