diff --git a/src-tauri/src/fs_track.rs b/src-tauri/src/fs_track.rs index 8a43e45..795ed8f 100644 --- a/src-tauri/src/fs_track.rs +++ b/src-tauri/src/fs_track.rs @@ -146,7 +146,7 @@ pub fn load_tracks_from_directories(directories: &Vec) -> Result) -> Result> { let mut files: Vec = vec![]; for directory in directories.iter() { - let files_in_dir = glob(format!("{}/**/*.{{mp3,m4a,flac,ogg}}", directory))?; + let files_in_dir = glob(format!("{}/**/*.{{mp3,m4a,flac,ogg,opus}}", directory))?; for file in files_in_dir { let file = file?; let path = file.path();