Merge remote-tracking branch 'origin/main'

This commit is contained in:
CappielloAntonio 2024-03-16 17:44:28 +01:00
commit fd85f36411
2 changed files with 15 additions and 1 deletions

View file

@ -102,7 +102,7 @@ public class ReplayGainUtil {
private static Float parseReplayGainTag(Metadata.Entry entry) {
try {
return Float.parseFloat(entry.toString().replaceAll("[^\\d.]", ""));
return Float.parseFloat(entry.toString().replaceAll("[^\\d.-]", ""));
} catch (NumberFormatException exception) {
return 0f;
}