Thumbnail Local Driver wrong MD5 Parameter
- 主要語言
- Go
- 星號
- 50.2k
- 分支
- 7.9k
- 平均合併
- 7 天 21 小時
- 30 天內合併 PR
- 6
描述
### Please make sure of the following things
- [x] I have read the [documentation](https://alistgo.com).
我已经阅读了[文档](https://alistgo.com)。
- [x] I'm sure there are no duplicate issues or discussions.
我确定没有重复的issue或讨论。
- [x] I'm sure it's due to `AList` and not something else(such as [Network](https://alistgo.com/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host) ,`Dependencies` or `Operational`).
我确定是`AList`的问题,而不是其他原因(例如[网络](https://alistgo.com/zh/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host),`依赖`或`操作`)。
- [x] I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。
### AList Version / AList 版本
v3.64.0
### Driver used / 使用的存储驱动
local
### Describe the bug / 问题描述
The local driver uses d.thumbSize when calculating the md5 hash thumbnail name which is different from the local driver thumbnail size parameter (d.thumbPixel), this means that the thumbnail hash will use the wrong parameter for creating the hash (144 by default rather than 320 which is the default local driver thumbnail size).
### Reproduction / 复现链接
Generate thumbnails with local driver using default parameters (144 for thumbSize and 320 for thumbPixel) and then from cli generate the md5 hash and thumbnail name and observe that the 320 width thumbnail generated does not produce the same thumbnail filename as the thumbnail generated with the 144 width parameter.
### Config / 配置
defaults, using local driver
### Logs / 日志
_No response_
貢獻指南
評估
這個 Issue 還沒有評估資料。