import json
f = "小说2/storyboard-work/ep-01.json"
ep = json.load(open(f,encoding="utf-8"))
seg = next(s for s in ep["segments"] if s["id"]=="E01-05")
seg["cuts"][1]["seconds"] = 2.8
json.dump(ep, open(f,"w",encoding="utf-8"), ensure_ascii=False, indent=1)
print("E01-05 #2 -> 2.8")
