diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2007-08-10 03:23:18 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2010-10-05 21:56:09 -0700 |
commit | 8b2c1370688bde804c673fd728c5a36b9db2206f (patch) | |
tree | 07c6e8854f799fb0c25e609af8d664072b75ed4f | |
parent | 425d678b0a495d06b7be52d5fd7acba4d716cda2 (diff) | |
download | omptagger-8b2c1370688bde804c673fd728c5a36b9db2206f.tar.gz omptagger-8b2c1370688bde804c673fd728c5a36b9db2206f.tar.xz |
Import version 0.2.1 into git history.
-rwxr-xr-x | omptagger | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,6 @@ #!/usr/bin/env ruby # -# omptagger [version 0.2] +# omptagger [version 0.2.1] # http://dev.gentoo.org/~omp/omptagger/ # # Copyright 2007 David Shakaryan <omp@gentoo.org> @@ -355,7 +355,11 @@ class ID3 # Method for writing tags. def hash_write - @tags.update! + if @tags.empty? or (@tags.length == 1 and @tags.frame_text(:TLEN)) + @tags.strip! + else + @tags.update! + end end # Method for displaying all tags. |