Skip to content

[TorBox] fix: remove usage of GetHashInfoAsync#986

Merged
rogerfar merged 2 commits into
rogerfar:mainfrom
asylumexp:fix/torbox-database-error
May 30, 2026
Merged

[TorBox] fix: remove usage of GetHashInfoAsync#986
rogerfar merged 2 commits into
rogerfar:mainfrom
asylumexp:fix/torbox-database-error

Conversation

@asylumexp
Copy link
Copy Markdown
Contributor

@asylumexp asylumexp commented May 28, 2026

Removes GetHashInfoAsync, and only uses the actual torrentId.

This was originally required as cachedtorrents endpoints used to use a different torrentId to the regular torrent endpoints for whatever reason, but luckily TorBox figured out a while ago that that was not a good idea and just combined them which means calling the API and filtering it by torrent hash to find the torrent id isn't needed anymore. This fixes #971, as it wont use the old torrentId anymore since it'll get the new one when the torrent is made. This should hopefully also reduce rate limiting a little bit.

Removes GetHashInfoAsync, and only uses the actual torrentId.

This was originally required as cachedtorrents endpoints used to use a different torrentId to the regular torrent endpoints for whatever reason, but luckily they figured out a while ago that that was not a good idea and just combined them which means calling API to search for hashes isnt needed anymore, hopefully this will reduce rate limiting a bit.
@asylumexp asylumexp changed the title fix: remove usage of GetHashInfoAsync [TorBox] fix: remove usage of GetHashInfoAsync May 28, 2026
@asylumexp
Copy link
Copy Markdown
Contributor Author

acb4877 This migrates existing torrents so that users dont have to delete and re add everything currently in rdtclient. I'll make another PR in 3-6 months to remove this once enough users have probably updated, since it doesn't look particularly nice in my opinion but I couldn't think of a better way to do it.

@asylumexp asylumexp force-pushed the fix/torbox-database-error branch from acb4877 to c6f6008 Compare May 29, 2026 13:04
Copy link
Copy Markdown
Contributor

@omgbeez omgbeez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rogerfar rogerfar merged commit a9013e0 into rogerfar:main May 30, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

TorBox seems incapable of fully downloading anything now

3 participants