Can't stop DFplayer mini playing the file even using mp3_stop command

At last, I had DFplayer played the only file in the mp3 folder. But my problem is, even though I already inserted the command "mp3_stop", still the DFplayer keeps on playing after several seconds, in different intervals.
Also, I tried the command myDFPlayer.disableLoop(); //disable loop. but it just send an error message: 'myDFPlayer' does not name a type

Please help correct the code. Thanks in advance.

#include <SoftwareSerial.h>
#include <DFPlayer_Mini_Mp3.h>

//
void setup () {
  Serial.begin (9600);
  mp3_set_serial (Serial);  //set Serial for DFPlayer-mini mp3 module 
  delay(1);  //wait 1ms for mp3 module to set volume
  mp3_set_volume (20);
}


//
void loop () {        
  mp3_play (1);
  delay (26000);
   mp3_pause ();
   mp3_stop ();
   
}

As you might expect from the name, the loop function is a loop. The code inside of this function runs over and over again. So the mp3 is played, there is a delay of 26000 milliseconds, the mp3 is paused, the mp3 is stopped and then the process starts over again. If you only want something to happen once on startup then you should put it in setup().

hi, how to exactly write such command, sorry...

should I write it this way:

void setup () {
  Serial.begin (9600);
  mp3_set_serial (Serial);  //set Serial for DFPlayer-mini mp3 module 
  delay(1);  //wait 1ms for mp3 module to set volume
  mp3_set_volume (20);
[b]mp3_stop;[/b]

}

ok...hope for any replies...

I am doing a similar project and I also have the repetition problem how can I be correcting this?