Test to see if it work.
Try to simplify down(also name of movie) as i do here to get to work outside of script,i use cmder so
Do not use singel
import subprocess moive_to_edit = 'jelly.mkv' movie_title = 'Swimming jelly fish' output = subprocess.run(['mkvpropedit', moive_to_edit, '--edit', 'info', '--set', f'title={movie_title}'], capture_output=True) print(output.stdout.decode())
Output:E:\div_code\bat
λ python ajelly.py
The file is being analyzed.
The changes are written to the file.
Done.
Work,movie have new title Swimming jelly fish
Try to simplify down(also name of movie) as i do here to get to work outside of script,i use cmder so
ls
work in cmd is dir
.E:\div_code\bat λ ls ajelly.py mkvpropedit.exe* jelly.mkvNow you get two errors mkvpropedit command don't work and FileNotFoundError.
Do not use singel
\
in path string,other way /
or put and r
in front.>>> r'C:\Program Files\MKVToolNix\mkvpropedit.exe' 'C:\\Program Files\\MKVToolNix\\mkvpropedit.exe'