From 98d4340d902d79472ee97f20392c870427216a37 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 14 Nov 2025 17:46:33 +0000 Subject: [PATCH] Fix video preview failures by excluding file metadata from cache hash Co-authored-by: sxyazi <17523360+sxyazi@users.noreply.github.com> --- yazi-plugin/src/utils/cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yazi-plugin/src/utils/cache.rs b/yazi-plugin/src/utils/cache.rs index 1b7438aa..bac4a9ed 100644 --- a/yazi-plugin/src/utils/cache.rs +++ b/yazi-plugin/src/utils/cache.rs @@ -18,7 +18,7 @@ impl Utils { let hex = { let mut h = Twox128::default(); - file.hash(&mut h); + file.url.hash(&mut h); t.raw_get("skip").unwrap_or(0usize).hash(&mut h); format!("{:x}", h.finish_128()) };