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

[FEAT] 锁定游戏ID #201

Open
furtherun opened this issue May 1, 2024 · 4 comments
Open

[FEAT] 锁定游戏ID #201

furtherun opened this issue May 1, 2024 · 4 comments

Comments

@furtherun
Copy link

您的功能请求与问题有关吗?请简要描述。

(1.7.1)添加游戏时时通过文件名匹配的,匹配不正确的游戏条目,需要手动查找游戏ID后,修改并锁定游戏名重新拉取。
并且拉取数据后,如果不锁定游戏名会在更新游戏库时再次产生上述问题。
如果能在指定游戏ID后进行锁定,该匹配项是唯一的,以后进行更新游戏库时不会混乱。

请介绍一下这个新功能的具体功能

将目前的游戏ID(如bgm:1224,vndb:5678)信息进行拆分,分为bangumi和vndb两个信息,并且添加相应的锁定和数据类型校验。
这之后更新数据时可以从指定的游戏ID信息进行拉取,如果游戏ID和游戏名称都已被锁定(且有冲突),则根据数据源的设置,按照游戏ID、游戏名、文件名等信息的优先级进行更新。

@GoldenPotato137
Copy link
Owner

目前ID是唯一的索引项呀?当填入ID之后软件会直接把根据id去获取对应的游戏,不会根据名字去搜索接口。这个事情应该是和游戏名无关的呀?

@leohu1
Copy link
Contributor

leohu1 commented May 3, 2024

确实有这个问题

@leohu1
Copy link
Contributor

leohu1 commented May 3, 2024

点击从数据源获取数据后, id会被数据源更新id覆盖
图片

@leohu1
Copy link
Contributor

leohu1 commented Jun 9, 2024

最新dev支好像解决了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants