Associate .mp3 files with the Mp3Player application in Files browser

This commit is contained in:
Adolfo Reyna
2026-06-28 22:23:01 -04:00
parent 430f8889ac
commit 68a6ca0ce3
3 changed files with 12 additions and 0 deletions
@@ -26,4 +26,9 @@ bool isSupportedTextFile(const std::string& filename) {
filename_lower.ends_with(".properties");
}
bool isSupportedAudioFile(const std::string& filename) {
std::string filename_lower = string::lowercase(filename);
return filename_lower.ends_with(".mp3");
}
} // namespace tt::app::filebrowser