commit 98fd9214ac4aabd9bb41a9435b73fc78a514f82f
parent 057606e8600283c036ebbca3c5c8b113dcc9a674
Author: lostd <lostd@2f30.org>
Date: Thu, 3 Oct 2013 10:45:33 +0000
Don't use all description list, just the first item
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/musicfix b/bin/musicfix
@@ -102,7 +102,9 @@ def mkformat format
if format.descriptions
# Too general
format.descriptions.delete "Album"
- f += format.descriptions
+ unless format.descriptions.empty?
+ f << format.descriptions.first
+ end
end
f.join ' '
end