-
Notifications
You must be signed in to change notification settings - Fork 3
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
URL encoded path make tracks unplayable #11
Comments
Maybe this bit of code could help you ? |
I'll consider it. Currently everything in this player is very custom and very jank. It reads the file line by line with the fgets function, so if it's filled with the URL tokens it is going to be a problem, yes. I could consider adding escape characters for these or maybe just redo everything related to this and do it better. The biggest limitation is BASS not supporting unicode chars (I think), so paths have to be ANSI. |
The From the doc page:
I don't know how UTF-16 would work on windows though Edit: But this is getting away of the original problem here where |
Oh cool, so it supports it. I thought of it only because I remember this being one of the problems I need to resolve and it'll affect the parser. But for this particular instance, no, it won't really change much. |
Hi,
Just noticed this issue, if the path contains spaces, VLC will encode them to
%20
which will cause the music to be unplayable.Manually editing the file replacing
%20
back to spaces works.For reference, when
%20
are present, this is what I get in the logs:Altough this is an easy fix with any editor using search & replace, this is still a pretty annoying thing to do.
Is there any way to fix this ?
EDIT:
This seems to affect every characters being URL encoded. Just had the issue with
(
and)
with are encoded%28
and%29
respectively.The text was updated successfully, but these errors were encountered: