Changed the Order
This commit is contained in:
parent
aa03dd5dce
commit
1a2ac270ee
|
@ -72,8 +72,8 @@ void mpdbass(bool start) {
|
|||
if (start == true){ //If Button pressed
|
||||
Serial.println("Play");
|
||||
client.println("addid \"users/lucas/Alben/Function/Incubation/01 Voiceprint.flac\" 0"); //Adds the Song as First Song
|
||||
client.println("setvol 100"); //set Max volume
|
||||
client.println("play 0"); //Play the First song
|
||||
client.println("setvol 100"); //set Max volume
|
||||
} else if (start == false) {
|
||||
Serial.println("Remove");
|
||||
client.println("delete 0"); //Remove the first Song (The Bass Song)
|
||||
|
@ -84,4 +84,4 @@ void mpdbass(bool start) {
|
|||
String line = client.readStringUntil('\r');
|
||||
Serial.print(line);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue