File navigation on SD card

I’m wondering if the Arduino MP3 shield library is capable of file browsing an SD card. For example, on screen would be displayed the contents of a directory, and the user could use buttons to browse through directories and MP3 files on the SD volume.

You don’t specify which Arduino MP3 Shield library your talking about, but if it is this one (or one like it); GitHub - madsci1016/Sparkfun-MP3-Player-Shield-Arduino-Library: A nice and neat library for playing MP3s on your Arduino using Sparkfun's MP3 Player Shield then it is using the SDfat library to provide access to the SD card. That library is the ancestor from which the Arduino SD library comes from and you can probably use this example (which may need some modification to work with your shield library) to implement a directory browsing feature:

#include <SD.h>

File root;

void setup()
  pinMode(10, OUTPUT);


  root ="/");

  printDirectory(root, 0);


void loop()
  // nothing happens after setup finishes.

void printDirectory(File dir, int numTabs) {
   while(true) {

     File entry =  dir.openNextFile();
     if (! entry) {
       // no more files
     for (uint8_t i=0; i<numTabs; i++) {
     if (entry.isDirectory()) {
       printDirectory(entry, numTabs+1);
     } else {
       // files have sizes, directories do not
       Serial.println(entry.size(), DEC);

Some more information on the SDFat library that may be helpful is available from:

Hi wanderson..
I have 2 questions about your post :

  1. Is arduino connected to DfMiniPlayer ?
  2. Is pin 10 connected to Rx DfMiniplayer ?

Thanx in advance