aboutsummaryrefslogtreecommitdiffstats
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index 714f61b..4ec4935 100644
--- a/main.py
+++ b/main.py
@@ -35,7 +35,7 @@ def get_audio_issues(path: Path) -> dict:
return {
"needs_sample_rate_fix": sample_rate > 192000,
"needs_bitdepth_fix": bits_per_sample > 24,
- "needs_blocksize_fix": max_blocksize != 4096,
+ "needs_blocksize_fix": max_blocksize > 4096,
"sample_rate": sample_rate,
"bits_per_sample": bits_per_sample,
"max_blocksize": max_blocksize,
@@ -170,7 +170,7 @@ def process_file(fp: Path, nolrc: bool) -> str:
fp = normalize_loudness(fp)
post_blocksize = getattr(FLAC(str(fp)).info, "max_blocksize", 4096)
- if post_blocksize != 4096:
+ if post_blocksize > 4096:
log(f" Fixing blocksize -> 4096 via flac CLI")
fp = fix_blocksize(fp)
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage