Baseline: full tree snapshot after git repository loss
The previous .git directory was found gutted (only info/ remained), so history is unrecoverable locally. This commit restores version control with the tree exactly as it stands: the working app, the preview-tracks launcher on the artist hero, the scrollable-track-previews design bundle (docs + approved mockups), and the Phase 0 validation artifacts.
This commit is contained in:
commit
a667b4b28e
161 files changed
+53170
No files matched your search
@@ -0,0 +1,24 @@
|
||||
//! Read tags from every audio file in a folder and print the outcome.
|
||||
//! cargo run -p tagger --example read -- "C:\folder"
|
||||
|
||||
fn main() {
|
||||
let dir = std::env::args().nth(1).expect("usage: read <dir>");
|
||||
for entry in std::fs::read_dir(&dir).expect("read_dir").flatten() {
|
||||
let path = entry.path();
|
||||
if !path.is_file() {
|
||||
continue;
|
||||
}
|
||||
match tagger::read_summary(&path) {
|
||||
Ok(s) => println!(
|
||||
"OK {} | artist={:?} album={:?} title={:?} track={:?} dur={:?}",
|
||||
path.file_name().unwrap().to_string_lossy(),
|
||||
s.artist,
|
||||
s.album,
|
||||
s.title,
|
||||
s.track_no,
|
||||
s.duration_secs
|
||||
),
|
||||
Err(e) => println!("ERR {} | {e}", path.file_name().unwrap().to_string_lossy()),
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user