Home Forums Sparkfun MP3 Shield Library Support Forum Playing MP3's just stop and can hang Arduino Reply To: Playing MP3's just stop and can hang Arduino

#2979
Anonymous
Inactive

Hi Michael

 

Many thanks for your quick response.

The time interval is probably in the order of 5 to 15 minutes.

The high bit rate file is 320kbs, when it does play this file it plays it fine, but often has trouble starting it.  The rest are 192kbs

 

When I start playing the file I have now added a pause before getting the file name to display.

 

MP3player.playMP3(filename, 0);

delay(500);

DisplayTrackName();

 

This does seem to help but I am not sure it solves it.

As a sticky plaster I detect when 3 consecutive track times are the same  (with a gap between each track time query) and then advance to the next track.  It works apart from the lockup case but it’s not really a good thing to do.

Any ideas?

 

Thanks

JasD