Skip to content

Commit

Permalink
fix bug when writings tags of mpc files
Browse files Browse the repository at this point in the history
the bug caused the modification to be written unsuccessfully to a new id3v2 tag instead of the ape tag that mpc files use
  • Loading branch information
squentin committed Mar 31, 2010
1 parent fd07f09 commit 62d3340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gmusicbrowser_tags.pm
Expand Up @@ -269,7 +269,7 @@ sub Write
while (@todo) while (@todo)
{ my $key= shift @todo; { my $key= shift @todo;
my $val= 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) } else { $ape->remove_all($key) }
} }
} }
Expand Down

0 comments on commit 62d3340

Please sign in to comment.