Closed
Description
So, i may have a wrong usage of player.setPath, or there is a bug. I am reading mp3 from SD card via AudioSourceSDMMC, when i play files inside directories at the root of the SD it works fine, i set the parth with
player.setPath("/K0012");
And it will automatically find the files in this directory and play them one after the other.
However, when i move all the directories inside a subdirectory MKI01, then i got no data found error
player.setPath("/MKI01/K0012");
player.begin();
[W] AudioPlayer.h : 144 - -> begin: no data found
I dont understand what the cause can be, here is a picture of the SD structure:
That is how i setup the player:
player.setVolume(0.9);
player.setMetadataCallback(printMetaData);
player.setAutoNext(true);