-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SD File playback failed #46
Comments
i have to replace this line to use path, it is working but i not sure the impact on the filespec variable: ESP32Radio-V2/include/SDcard.h Line 289 in f75a0a9
|
@Edzelf few issue need to be address:
|
created pr #47 |
the choppy issue was fixed, is because of the delay added on my end. closing this issue. |
hi @Edzelf ,
D: SD okay, start scan
D: Locate mp3 files on SD, may take a while...
D: DIR : mp3_folder
[ 19936][E][vfs_api.cpp:29] open(): mp3_folder does not start with /
D: Failed to open directory
D: Space 179124
D: 0 tracks on SD
D: Radiofuncs cmd is 1
i am getting error during sd directory scan. could not understand how the file and folder mapping work to fix it myself.
sd call will only read file name and first level directory or the sub directory per scan and not able to play playback of file stored without full path so the file path need to be stored in the mp3spec variable. so far my test the mp3spec files only stored the file name and not full path.
in this function: getsdtracks(const char * dirname, uint8_t levels) and addToFileList( file.name()))
file.name() only return file name and not path. and during scan the directory are not being map.
wondering how it was done to recall back directory of the sub mp3 files.
Thanks,
The text was updated successfully, but these errors were encountered: