Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sanitize_str function makes new character appear on Debian Linux #495

Open
ghost opened this issue Jul 1, 2024 · 1 comment
Open

sanitize_str function makes new character appear on Debian Linux #495

ghost opened this issue Jul 1, 2024 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 1, 2024

image
On my side I've downloaded a couple of tracks and I always end up having files with this character
image
I checked the code and apparently that function was the problem, if I set "replacement_char" to empty the character does not appear, which is how I wanted it
Not sure if its a bug, just pointing that out haha

@7x11x13
Copy link
Member

7x11x13 commented Jul 21, 2024

This is intended because it could be the case that a filename is made up of entirely invalid characters for a filename, in which case downloading would fail if the replacement char is "". However, the replacement char should probably be able to be changed by the user via command line argument, so I'll leave this issue open

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

No branches or pull requests

1 participant