Proper way to write this

Could someone please show me the proper way to write the Action statement?

I have “Blynk.Write(5, mp3_play ());” which gives me an error.

I have “mp3_stop ();” which I am quite sure is not the proper way to write it.
So what should I have in //Do something area.

#include <DFPlayer_Mini_Mp3.h>

BLYNK_WRITE(V5)
{
  String action = param.asStr();

  if (action == "play") {
    // Do something
    Blynk.Write(5, mp3_play ());
  }
  if (action == "stop") {
    // Do something
    mp3_stop ();
  }
  if (action == "next") {
    // Do something
    mp3_next ();
  }
  if (action == "prev") {
    // Do something
    mp3_prev ();
  }

  Blynk.setProperty(V5, "label", action);
  Serial.print(action);
  Serial.println();
}

A post was merged into an existing topic: Getting Mini MP3 Player to work with a ESP 32-12F and Blynk