Closed 0xBERNDOG closed 1 year ago
Yes, you are right. For fsstream actually use c library to open and read files. It actually supports sdcard, internal flash and other storage type that has been mounted on to the system. It searchs for /sdcard for that esp_audio support urls like: file:///sdcard/*** It is somewhat like android /storage path. We will try to skip scheme header file:// instead of search for sdcard. Thanks for your efforts.
Supported by 58a6c3728f89e453daa391448b0799f38a54bdfc
I noticed that FATFS stream forces the URI to begin with
/sdcard
, which is a bad assumptionIn my case, I have mounted an FATFS partition stored on an external SPI flash
This PR is intended to start a discussion for a real fix, but I have verified/tested that this simple fix works too