Merge remote-tracking branch 'origin/main'
This commit is contained in:
commit
fd85f36411
2 files changed
+15
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user