Skip to content

Conversation

@gloaysa
Copy link
Contributor

@gloaysa gloaysa commented Sep 21, 2025

fixes #213

The core of the issue: in my locale (Spanish), we separate the decimal part of a Float with a comma , instead of a period .. Of course, .parse::<f...> expects a period as the separator.
The fix is to do a replace every time we try to convert from the raw string. It's more or less safe, since I checked and it doesn't return the separator for the thousands (in my locale, a period), but is verbose.

@ryanccn ryanccn enabled auto-merge (squash) September 21, 2025 13:07
@ryanccn ryanccn merged commit e384341 into ryanccn:main Sep 21, 2025
6 checks passed
@ryanccn
Copy link
Owner

ryanccn commented Sep 21, 2025

Thank you!

@gloaysa
Copy link
Contributor Author

gloaysa commented Sep 21, 2025

Thank you for this app and the review.

I'll keep an eye out for the bug on macOS side regarding music not in the library.

@gloaysa gloaysa deleted the fix/normalize-decimal-separator branch September 21, 2025 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not working on Macos26

2 participants