mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
Fix video preview failures by excluding file metadata from cache hash
Co-authored-by: sxyazi <17523360+sxyazi@users.noreply.github.com>
This commit is contained in:
parent
49de651b4d
commit
98d4340d90
1 changed files with 1 additions and 1 deletions
|
|
@ -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())
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue