-
-
Notifications
You must be signed in to change notification settings - Fork 449
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
streamlink: trim custom paths #4834
streamlink: trim custom paths #4834
Conversation
e88242f
to
967df2e
Compare
967df2e
to
127a472
Compare
I don't think there would be any issue with trimming this path for other platforms as well, can anyone else come up with any scenarios where that would be unwanted? |
Technically other platforms do allow whitespace at the end of folder names |
Yea this is why I didn't want to do that, just in the case that someone had such an edge case. |
this makes sure no spaces are accidentally left in the custom path Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Windows paths can't have trailing whitespace, currently having trailing whitespace in the path will result in the path not being found