rogerfar / Alldebrid.NET

AllDebrid .NET wrapper library
MIT License
9 stars 2 forks source link

Improving magnet listing #1

Open Alldebrid opened 1 year ago

Alldebrid commented 1 year ago

Hi,

We are seeing high network usage (1MB+ request every 10 seconds) from some of our users using rogerfar/rdt-client, and it seems to be caused by the repeated calls on /magnet/status combined with keeping all magnets on the account.

There is an easy fix, we offer a "live" mode for your use case : https://docs.alldebrid.com/#status-live-mode

With this flow (session id with counter), you'll only get diff data and network usage will drop massively.

For the second point, a good practive could be to delete magnet from the user magnet list when the download has been completed downstream, to avoid user having massive magnets list on their dashboard, if they have no further use of them.

Thanks for your work on RDT and the .NET lib, we've listed both of them on our tools page.

rogerfar commented 1 year ago

Thanks @Alldebrid I will have a look at implementing this. On that topic, do you guys have dev accounts for plugin developers? I don't use AllDebrid myself so it takes me a while to get around these things.

Alldebrid commented 1 year ago

Thank you for the update.

We do have dev accounts. The easiest way is to contact us here => "support [at] alldebrid.com"