Web remote uses new repeat
This commit is contained in:
parent
6745b4de1d
commit
4d72f41ec9
1 changed files with 1 additions and 7 deletions
|
@ -129,13 +129,7 @@ const wsapi = {
|
|||
app.mk.isPlaying ? app.mk.pause() : app.mk.play();
|
||||
},
|
||||
toggleRepeat() {
|
||||
if (MusicKit.getInstance().repeatMode == 0) {
|
||||
MusicKit.getInstance().repeatMode = 1;
|
||||
} else if (MusicKit.getInstance().repeatMode == 1) {
|
||||
MusicKit.getInstance().repeatMode = 2;
|
||||
} else {
|
||||
MusicKit.getInstance().repeatMode = 0;
|
||||
}
|
||||
app.repeatIncrement();
|
||||
},
|
||||
getmaxVolume() {
|
||||
ipcRenderer.send("wsapi-returnvolumeMax", JSON.stringify(app.cfg.audio.maxVolume));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue