harpocrates_musik_player

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit c0c2e2fb90be815dd174cc3e67ce373c7bf3002e
parent 26bc788eb5f60e65020591ef4a1e4842cb04b8b3
Author: minerva-jupiter <ryouturn@gmail.com>
Date:   Thu, 10 Sep 2026 10:20:43 +0900

feat(library): support m4a and opus audio file formats

Diffstat:
Msrc/library.rs | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/library.rs b/src/library.rs @@ -95,5 +95,8 @@ fn is_music_file(path: &PathBuf) -> bool { .and_then(|s| s.to_str()) .unwrap_or("") .to_lowercase(); - matches!(ext.as_str(), "flac" | "mp3" | "ogg" | "wav") + matches!( + ext.as_str(), + "flac" | "mp3" | "ogg" | "wav" | "m4a" | "opus" + ) }