From 62d33403ad0a595b1cd9fd038ddd4846265e457c Mon Sep 17 00:00:00 2001 From: Quentin Sculo Date: Wed, 31 Mar 2010 13:31:14 +0200 Subject: [PATCH] fix bug when writings tags of mpc files the bug caused the modification to be written unsuccessfully to a new id3v2 tag instead of the ape tag that mpc files use --- gmusicbrowser_tags.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gmusicbrowser_tags.pm b/gmusicbrowser_tags.pm index 8133eede..5f435ae0 100644 --- a/gmusicbrowser_tags.pm +++ b/gmusicbrowser_tags.pm @@ -269,7 +269,7 @@ sub Write while (@todo) { my $key= shift @todo; my $val= shift @todo; - if ($val) { $tag->insert($key,$_) for reverse @$val} + if ($val) { $ape->insert($key,$_) for reverse @$val} else { $ape->remove_all($key) } } }