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

Error on Windows when Filename contains special Charcter like "?" or "!" #32

Open
eisbaer9 opened this issue Apr 4, 2021 · 1 comment

Comments

@eisbaer9
Copy link

eisbaer9 commented Apr 4, 2021

When the Filename contains a Windows Special Charakter, like "?" or "!" the program is aborted.

So i changed the "escape_string_for_ffmpeg", so that the most commoan Special Characters will be removed from the Filename:

def escape_string_for_ffmpeg(self, string: str):
    string = string.replace(":", "\\:")
    string = string.replace("'", "\\'")
    string = string.replace("?", "")
    string = string.replace("!", "")
    return string
@prennack
Copy link

prennack commented Aug 4, 2021

where do i have to do this?

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

2 participants