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

Magnet link downloads, gid management confusion #2167

Closed
tingjiangcao opened this issue Jan 25, 2024 · 1 comment
Closed

Magnet link downloads, gid management confusion #2167

tingjiangcao opened this issue Jan 25, 2024 · 1 comment

Comments

@tingjiangcao
Copy link

Magnetic link download

When downloading for the first time, the returned gid is correct, and you can query, pause, and delete downloads by this gid.

Each subsequent reboot will reveal that the gid will change. The point in time when it changes should be when there is a download speed.

Also, the old gid will change from active state to complete state.

When you call tellstatus(old gid), it will return actvie or complete
When you call tellactive, you'll see the old gid flash by and the new gid spawn.
When you call tellstop, you will find the original gid exists in complete state.

If the gid is incorrect, you can't query, pause, or delete. You need to wait until you have speed and get the correct gid.

I'm not sure if it's a continuation issue, a magnetic chain issue, or a problem with my understanding.

This is a disaster for GUI development.

@tingjiangcao
Copy link
Author

Chinese Version:

磁力链接下载

首次下载时,返回的gid是正确的,可以通过此gid查询、暂停、删除下载。

以后每次重启都会发现gid会变化。改变的时间点应该是在有下载速度的时候。

而且,旧gid也会从active状态变成complete状态。

当你调用tellstatus(旧gid)时,会返回actvie或complete
当你调用tellactive时,会发现旧gid一闪而过,新gid产生。
当你调用tellstop时,会发现原gid以complete状态存在。

假如gid不正确,就无法进行查询、暂停、删除。需要等有速度时、获取到正确gid时,才能操作。

我不清楚是续传问题、磁链问题、还是我理解问题。

这对于GUI开发来说,是灾难的。

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

1 participant