From 8f0b9eafd70fd79891a34a388097b864d1d8d050 Mon Sep 17 00:00:00 2001 From: CodeName393 Date: Fri, 6 Feb 2026 17:53:48 +0900 Subject: [PATCH] Remove hybrid havc temp file Add a hybrid track to the track processing list to fix the problem that the hybrid-processed hevc file remains in the temp folder. --- unshackle/commands/dl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unshackle/commands/dl.py b/unshackle/commands/dl.py index 2914e71..82ad4a7 100644 --- a/unshackle/commands/dl.py +++ b/unshackle/commands/dl.py @@ -1910,9 +1910,11 @@ class dl: # Create a new video track for the hybrid output hybrid_track = deepcopy(hdr10_track) + hybrid_track.id = f"hybrid_{hdr10_track.id}_{resolution}" hybrid_track.path = hybrid_output_path hybrid_track.range = Video.Range.DV # It's now a DV track hybrid_track.needs_duration_fix = True + title.tracks.add(hybrid_track) task_tracks.videos = [hybrid_track] enqueue_mux_tasks(task_description, task_tracks)