Closed simonflick closed 1 year ago
Thank you for working on this script!
@Script improvements: If you put the upper part into a clean merge request, I'll take a closer look and merge it.
@Batch file:
Maybe also worth adding to the directory. Merge request?
Although, I'm not sure about your python3
:
python3
on Windows machines?If any questions answeres no, your instructions are probably better suited for the README
Probably related: https://github.com/DarkTrick/python-video-silence-cutter/issues/6
Maybe the branch fix/windows_cutting
fixes the problem.
You can get the file via git clone -b fix/windows_cutting https://github.com/DarkTrick/python-video-silence-cutter.git
I'll close the issue, as it's probably overlapping with the other issues. Feel free to re-open.
The script didn't work on my Windows machine because of two things:
\r\n
line endingsNamedTemporaryFile
doesn't work on WindowsTo work around these issues I hacked together these changes: Use RegEx to replace both line ending formats
Create temp files manually in the execution dir and remove afterwards
I also created this batch file
This is useful because it allows you to put everything into a folder, add it to the path variable and call it via CMD like a normal program.