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

WebDav书籍同步的逻辑问题 #110

Open
ny-shao opened this issue Feb 20, 2025 · 3 comments
Open

WebDav书籍同步的逻辑问题 #110

ny-shao opened this issue Feb 20, 2025 · 3 comments
Labels
enhancement New feature or request

Comments

@ny-shao
Copy link

ny-shao commented Feb 20, 2025

在WebDav上保存书籍,其实是希望能在不同设备间求最大合集的。现在遇到一个问题,好像不同设备在同步的时候,会主动删除本设备上没有的书籍。不论是多看还是neat reader这样带网盘的app,书籍是否同步和笔记的同步的逻辑都是分开的,只有主动去网盘里删除书籍,才会把书籍删除。希望作者考虑这点。否则不同设备间必须得手动维护同一个书架了。

@ny-shao ny-shao added the enhancement New feature or request label Feb 20, 2025
@Anxcye
Copy link
Owner

Anxcye commented Feb 26, 2025

一般地,会根据数据库的更新时间来进行同步,如果云端数据库内容比本地新,就会把云端的数据同步下来(如果云端删除过书籍,本地就会把这本书删掉)。

所以是可以保证多个设备间维护同一份书籍列表的。

比较策略在下一版本会有一些更新,或许可以试试有没有做得更好。

@ny-shao
Copy link
Author

ny-shao commented Feb 26, 2025

那我看来真的要报告个bug而不是enhancement了[汗]。我在用teracloud的webdav同步书籍。但是不同设备间会互相冲突,尤其是两个设备同时打开的时候。比如先打开windows版不关闭,再打开安卓手机版,眼看着手机的书会把webdav的内容给冲了… 这种两个设备同时打开的场景我觉得也还算常见哈…

@ybbluesky
Copy link

一般地,会根据数据库的更新时间来进行同步,如果云端数据库内容比本地新,就会把云端的数据同步下来(如果云端删除过书籍,本地就会把这本书删掉)。

所以是可以保证多个设备间维护同一份书籍列表的。

比较策略在下一版本会有一些更新,或许可以试试有没有做得更好。

希望给一个用户选择的机会,保留远程还是本地的记录

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

No branches or pull requests

3 participants