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
|
if (start == true){ //If Button pressed
|
||||||
Serial.println("Play");
|
Serial.println("Play");
|
||||||
client.println("addid \"users/lucas/Alben/Function/Incubation/01 Voiceprint.flac\" 0"); //Adds the Song as First Song
|
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("play 0"); //Play the First song
|
||||||
|
client.println("setvol 100"); //set Max volume
|
||||||
} else if (start == false) {
|
} else if (start == false) {
|
||||||
Serial.println("Remove");
|
Serial.println("Remove");
|
||||||
client.println("delete 0"); //Remove the first Song (The Bass Song)
|
client.println("delete 0"); //Remove the first Song (The Bass Song)
|
||||||
|
|
Loading…
Reference in New Issue