commit - b2dc3e75bc4d1d2cb12c1febaec0cb16f51865cc
commit + c58e2fc2f6cfa153812755719ac5ea48c6020816
blob - b0efe501802e3e211bb286e8b341cf45da7ea2c1
blob + 2a202481ace1d69ac2bc70c769413065155effae
--- README.md
+++ README.md
./target/release/hakuna --read file.flac
# Write metadata to a single file
-./target/release/hakuna -d YOUR_TOKEN --write file.flac
+./target/release/hakuna -d DISCOGS_TOKEN --write file.flac
# Edit tags for a single file (interactive)
./target/release/hakuna --edit file.flac
# Write metadata to all files in a directory
-./target/release/hakuna -d YOUR_TOKEN --write --all /path/to/music/
+./target/release/hakuna -d DISCOGS_TOKEN --write --all /path/to/music/
# Batch edit all files in a directory with the same values
./target/release/hakuna --edit --all /path/to/music/
Pass the token via command line:
```bash
- hakuna -d YOUR_TOKEN --write file.flac
+ hakuna -d DISCOGS_TOKEN --write file.flac
```
* **MusicBrainz (Fallback):** If no Discogs token is provided, the tool will fall back to using the MusicBrainz API, which does not require authentication. Results might be less detailed.
blob - 80bedbaac5f27a90291a80ad1692e992bedd7588
blob + def8d0fd6637d38e8eda7ef83f11880a84e880b7
--- src/main.rs
+++ src/main.rs
$ hakuna --read file.mp3
Write tags to a file:
- $ hakuna -d TOKEN --write file.mp3
+ $ hakuna -d DISCOGS_TOKEN --write file.mp3
Edit tags manually:
$ hakuna --edit file.mp3
Process a directory:
- $ hakuna -d TOKEN --write /path/to/music/"
+ $ hakuna -d DISCOGS_TOKEN --write /path/to/music/"
)]
#[allow(clippy::struct_excessive_bools)]
struct Args {