Skip to content

Commit

Permalink
Include OPUS Files
Browse files Browse the repository at this point in the history
  • Loading branch information
NeatoMonster authored Jun 5, 2023
1 parent 4fa4a02 commit 9dde1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/fs_track.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ pub fn load_tracks_from_directories(directories: &Vec<String>) -> Result<Vec<FsT
pub fn get_files_from_directories(directories: &Vec<String>) -> Result<Vec<String>> {
let mut files: Vec<String> = 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();
Expand Down

0 comments on commit 9dde1b0

Please sign in to comment.