I'm just curious which MKV TargetTypeValue does your script use to write the TITLE into the MKV?
mkvpropedit_cmd = [
"mkvpropedit",
file_path,
"--edit", "info", "--set", f"title={title}", # Comment this out if you don't want the file title to be set to the movie or episode name
"--edit", "track:v1", "--set", f"name={title}", # Comment this out if you don't want the video track name to be set to the movie or episode name
"--set" if video_track != "-" else "", f"language={video_track}" if video_track != "-" else "" # Only set video track language if it is not "-"
]
I'm asking that after reading this topic about TVSEASON.
Maybe something similar to the code above could be used to set the TVSEASON accordingly?