summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-06-24 23:41:11 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2014-06-24 23:41:11 -0700
commit0aa091835b31f93d752bd45f4dc291bc66181652 (patch)
tree1ce53d523bbea07f5b5856ef4a99ab926430b0c3
parent39e880334914c1b6574a84a36081cb6c8e631963 (diff)
downloadomptagger-0aa091835b31f93d752bd45f4dc291bc66181652.tar.gz
omptagger-0aa091835b31f93d752bd45f4dc291bc66181652.tar.xz
Do not overwrite pre-existing tags when adding.
-rwxr-xr-xomptagger2
1 files changed, 1 insertions, 1 deletions
diff --git a/omptagger b/omptagger
index 7f6d853..7494933 100755
--- a/omptagger
+++ b/omptagger
@@ -389,7 +389,7 @@ class MP3 < Metadata
TagLib::String::UTF8)
frame.text = value
- metadata.add_frame(frame)
+ metadata.add_frame(frame) if metadata.frame_list(field).empty?
end
end