diff --git a/src/tangara/audio/playlist.cpp b/src/tangara/audio/playlist.cpp index f57f078d..f0876d4e 100644 --- a/src/tangara/audio/playlist.cpp +++ b/src/tangara/audio/playlist.cpp @@ -158,9 +158,8 @@ auto Playlist::deserialiseCache() -> bool { // Open the cache file std::string cache_file = filepath_ + ".cache"; FRESULT res = - f_open(&file, cache_file.c_str(), FA_READ | FA_WRITE | FA_OPEN_ALWAYS); + f_open(&file, cache_file.c_str(), FA_READ | FA_WRITE | FA_OPEN_EXISTING); if (res != FR_OK) { - ESP_LOGE(kTag, "failed to open cache file! res: %i", res); return false; }