I've sat and stared at the print directory function in that link, thats pretty much all I could find example iwse and I used that to build my player code on.
Documentation on SD or SDfat isnt great, I didnt know there was a file.chdir();, its not mentioned here:
https://www.arduino.cc/en/Reference/SD
But I'll try it and see if it works.
I've got some odd thing where the player corrupts make a racket for a split second then re-starts the track, I was thinking the uno didnt have enough datmem, thats why I went to the mega but it does it too, I think I've got some interrupt latency issue, maybe this codec isnt the best.
The vs1053 codec doesnt read the sd card, the 'duino does then transfers the data to the codec to play it, fresh data is demanded via an interrupt from the codec.
I went this way so's I could read and display album and tracks names, I dont just want cd1, track6 etc.
I might have a look at cheap players that dont read file names, if I can find a way to read the sd before the player plays anything I'll have a directory of dir and file names to display. only thing is I dont think the cheapo's allow access to the Sd card.