scanning kinda
This commit is contained in:
@@ -83,7 +83,7 @@ fn is_audio(path: &Path) -> bool {
|
|||||||
}
|
}
|
||||||
fn scan(dir: &Path, out: &mut Vec<PathBuf>) {
|
fn scan(dir: &Path, out: &mut Vec<PathBuf>) {
|
||||||
for entry in fs::read_dir(dir)
|
for entry in fs::read_dir(dir)
|
||||||
.expect("i want to help you, but i had trouble reading my music folder :( sorry.\n")
|
.expect("i want to help you, but i had trouble reading my music folder :( sorry.\ntry running timbre repair!\n")
|
||||||
{
|
{
|
||||||
let path=entry.expect(
|
let path=entry.expect(
|
||||||
"i wanna help you, but, i can't do everything. i couldn't read a file, to the point where i can't tell you which :(\n").path();
|
"i wanna help you, but, i can't do everything. i couldn't read a file, to the point where i can't tell you which :(\n").path();
|
||||||
|
|||||||
Reference in New Issue
Block a user