use json for scenes file

This commit is contained in:
Zen 2021-05-12 09:49:50 +03:00
parent cd9ddac53b
commit 231db9ee38

View file

@ -24,7 +24,7 @@ def split_routine(project: Project, resuming: bool) -> List[int]:
:param resuming: if the encode is being resumed :param resuming: if the encode is being resumed
:return: A list of frames to split on :return: A list of frames to split on
""" """
scene_file = project.temp / "scenes.txt" scene_file = project.temp / "scenes.json"
# if resuming, we already have the split file, so just read that and return # if resuming, we already have the split file, so just read that and return
if resuming: if resuming: