mirror of
https://github.com/OPSnet/audioinfo.git
synced 2026-11-07 18:38:30 -10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e37f0fe12a |
@@ -133,6 +133,7 @@ impl AudioInfo {
|
||||
fn walk_dir(dir: &PathBuf) -> Vec<AudioFile> {
|
||||
let mut songs: Vec<AudioFile> = Vec::new();
|
||||
for entry in WalkDir::new(dir)
|
||||
.sort_by_file_name()
|
||||
.into_iter()
|
||||
.filter_map(|e| e.ok())
|
||||
.filter(|f| {
|
||||
|
||||
Reference in new issue
Block a user