Skip to content

Commit 2753923

Browse files
committed
major reencoding logic rewrite, code cleanup
1 parent 82e4c55 commit 2753923

File tree

7 files changed

+273
-181
lines changed

7 files changed

+273
-181
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v0.3.0
2+
* removed claxon dep in favor of flac_codec, same for metaflac
3+
* cleaned up code a bit
4+
15
# v0.2.6-fix
26
* remembered about changelog.md
37
* fixed incorrect encoded_by tag match
@@ -7,4 +11,4 @@
711
* added better bar incremental logic by passing it to threads
812
* added graceful shutdown (albeit its a bit slow)
913
* checks file if it exists before reencoding
10-
* removes temporary file if it was left uncleaned from the previous session
14+
* removes temporary file if it was left uncleaned from the previous session

Cargo.lock

Lines changed: 98 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "flac-reencoder"
3-
version = "0.2.7"
3+
version = "0.3.0"
44
edition = "2024"
55
repository = "https://github.com/justjakka/reencoder/"
66
license = "BSD-3-Clause"
@@ -18,12 +18,11 @@ flac-bound = { version = "0.5.0", default-features = false }
1818
indicatif = { version = "0.18.0", features = ["improved_unicode"] }
1919
walkdir = "2.5.0"
2020
console = { version = "0.16.0", features = ["windows-console-colors"] }
21-
claxon = { git = "https://github.com/justjakka/claxon.git" }
22-
metaflac = "0.2.8"
2321
rusqlite = { version = "0.36.0", default-features = false, features = [
2422
"modern_sqlite",
2523
] }
2624
ctrlc = "3.4.7"
25+
flac-codec = { version = "1.2.0", features = ["rayon"] }
2726

2827
[features]
2928
default = ["bundled"]

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
scans a specified folder and reencodes flacs if they needed to be reencoded
44

5-
currently this project uses [my own hacky fork of claxon](https://github.com/justjakka/claxon)
65
```
76
Usage: reencoder [OPTIONS] [path]
87

0 commit comments

Comments
 (0)