diff --git a/src/modules/exec/Mp3/Mp3.cpp b/src/modules/exec/Mp3/Mp3.cpp index c9b9b6d5..80a33d3b 100644 --- a/src/modules/exec/Mp3/Mp3.cpp +++ b/src/modules/exec/Mp3/Mp3.cpp @@ -111,6 +111,12 @@ class Mp3 : public IoTItem { if (param.size()) { myMP3->playFolder(param[0].valD, param[1].valD); // (folderNum, fileNum) } + } else if (command == "play") { + myMP3->play(1); //Play the first mp3 + } else if (command == "next") { + myMP3->next(); //Play next mp3 + } else if (command == "previous") { + myMP3->previous(); //Play previous mp3 } }