Home Forums Sparkfun MP3 Shield Library Support Forum control if mp3 is playing? Reply To: control if mp3 is playing?

#1708

The manual is documented in the github page HERE

Please take note of theĀ Troubleshooting & Non-Blocking Limitations section

  • "Error code: 1 when trying to play track"
    • See the above Limitations. about Non-Blocking.
    • Remember to check your audio cables and volume.

The limitation describes why and how to poll for playing.

example:
if(!MP3player.isPlaying()) {
  Serial.println(F("Currently playing."));
}