Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如果文件夹的RJ号是简体中文版或者其他翻译版本的话,有时候会扫描不出来 #25

Closed
3 tasks done
Plainct opened this issue Jan 30, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@Plainct
Copy link

Plainct commented Jan 30, 2025

请确认以下内容

  • 我确定使用的是 Kikoeru 的最新版本。

  • 我确定没有重复的issue或讨论。

  • 我确定是程序本身的问题,而不是其他原因(例如 网络依赖操作 )。

Kikoeru 版本

0.1.0

使用的存储驱动

本地储存

问题描述

比如说
https://www.dlsite.com/maniax/work/=/product_id/RJ01256556.html
这个作品。
NAS本地的文件夹名是
”RJ01256556谢菲尔德“
但是执行扫描后,会扫不出来。而日志里显示的RJ号是日文原版的RJ01256505。

虽然说从日志里找出来,改个名字就能扫出来…

日志

{"time":"2025-01-30T20:30:05.248217637+08:00","level":"ERROR","msg":"failed to create work [RJ01256505]: database is locked"}

@Plainct Plainct added the bug Something isn't working label Jan 30, 2025
@vscodev
Copy link
Owner

vscodev commented Jan 30, 2025

请问此问题你能稳定复现吗,扫描的文件夹总共有多少个作品?RJ号识别成日文原版是正常情况,这是为了防止录入重复的作品。

@Plainct
Copy link
Author

Plainct commented Jan 30, 2025

可能是因为文件夹层数的问题。最开始媒体库只添加根目录的话会出现这个问题。
把根目录分割成一个个子目录再去扫就正常了

Image

@vscodev
Copy link
Owner

vscodev commented Jan 30, 2025

这应该是个bug,出现这个问题是因为Kikoeru为了加快刮削速度使用了多线程读写,而sqlite3并不支持并发写(mattn/go-sqlite3#274),目前已调整sqlite3驱动的最大连接数为1,请你稍后拉取最新版镜像再次尝试。

@vscodev vscodev closed this as completed Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants