-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Int32 being rounded up to a number that doesn't fit in Int32 #5851
Comments
qBittorrent's WebUI API Documentation states eta is |
The dev that originally added Qbittorent support to Sonarr set it as an We'll be updating Sonarr to properly consume the |
@markus101 |
The source defined
Feel free to fix the function and test with Sonnar and make a PR. |
Any update on when this might be merged/fixed? |
If you can reproduce this in latest 4.3.3, please create a "new issue" |
qBittorrent: 3.3.7
Qt: 5.7.0
libtorrent: 1.0.10.0
boost: 1.61.0
OS version: Windows 8.1 64 bit
I am using Sonarr (sonarr.tv) with QBittorrent. I have two items that currently have an ETA of infinity. When Sonarr is querying QBittorrent APIs it is getting a value for Int32 which is bigger than what Int32 can accommodate.
The number being returned by QBittorrent is 18446744073709552000 whereas it should be 18446744073709551615. It appears that the number is being rounded up when it shouldn't be.
Here is the exact message I get in the debug logs from Sonarr:
JSON integer 18446744073709552000 is too large or small for an Int32. Path '[43].eta', line 1, position 22385
Thanks for the support
The text was updated successfully, but these errors were encountered: