summaryrefslogtreecommitdiff
path: root/src/flac.rs
diff options
context:
space:
mode:
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);
}
}