summaryrefslogtreecommitdiff
path: root/src/flac.rs
diff options
context:
space:
mode:
authorjakka <jakka@jakka.su>2025-07-07 21:34:45 +0300
committerjakka <jakka@jakka.su>2025-07-07 21:34:45 +0300
commit66f9da53ccd103eb2c78a10d61b545ea74ab4df6 (patch)
treeec066fccc627002dd994232ef472db081d0aa7a5 /src/flac.rs
parent7d849251f2f7e4419a956452937c7b6e6134151e (diff)
minor code cleanup
Diffstat (limited to 'src/flac.rs')
-rw-r--r--src/flac.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flac.rs b/src/flac.rs
index 0879faa..c08ec6c 100644
--- a/src/flac.rs
+++ b/src/flac.rs
@@ -27,7 +27,7 @@ fn write_tags(filename: impl AsRef<Path>, hash: Vec<u8>) -> Result<()> {
match block {
Block::VorbisComment(comment) => {
for (key, val) in comment.comments.clone() {
- if key != "ENCODER" {
+ if key.to_lowercase() != "encoder" || key.to_lowercase() != "encoded by" {
output.set_vorbis(key, val);
}
}