-
-
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
Is a RealDebrid integration possible? #6141
Comments
Very doubtful as it's not a cloud backend but a download tool. https://github.com/rclone/rclone/blob/master/CONTRIBUTING.md#writing-a-new-backend Can tag as a new backend, but unless you plan to implement it, I'll bet it just sits since there are so many requests for new backends without much demand/anyone to actually implement them. |
I see.. well thank you, i'll have a go at writing it myself then :) |
ncw is very good at asnwering/helping as well. Your request is the 56th new backend that's open right now to give an idea :) |
This comment was marked as outdated.
This comment was marked as outdated.
Previous comment of mine was solved by using To reiterate: Is this something you guys want to implement? For my purposes im done, but if this were to be officially implemented, there are a few things that would need to be done:
Other than that I dont see any reason why this couldnt be implemented. Here is the fork im working with now: https://github.com/itsToggle/rclone_RD |
@itsToggle if you want to submit this as a PR then check out: https://github.com/rclone/rclone/blob/master/CONTRIBUTING.md#writing-a-new-backend It would be nice to have some sort of integration testing, but integration testing read only backends is quite hard.
The doc should answer that.
I'd recommend deleting as much code as possible, and making methods which are required but don't work return a not implemented error.
Check out the
It seems to be exactly the same as the premiumize me API other than the root URL and the auth? Are premiumizeme and RealDebrid related? In that case an option in the premiumizeme backend would be the way to go which will save having to maintain another backend. |
Hey, Ive now added realdebrid as a seperate remote and created a pull request here: #6215 Thanks again for your help! |
@itsToggle - I noticed you deleted your PR before I had a chance to review - are you going to add it back? |
Hey, yes Im just trying to check more boxes before I reopen the PR. Are the 'test' files for read-only remotes necessary? Or do I just not create a 'test_remote.go' file? |
Read only remotes are almost impossible to integration test... You can't use Don't worry about it for the moment, and I'll have a think when I see your code in the PR. |
Thanks! I will create a new PR, since the main branch im working on has a changed README file. |
Any news on this by chance @ncw ? |
What problem are you are trying to solve?
I would like to rclone my RealDebrid Downloads. (So that I can use Plex to serve the files to family members)
How do you think rclone should be changed to solve that?
The RealDebrid api only allows for files to be downloaded, not uploaded and is very rudementary overall.
Would it be possible to make a read-only backend, that simply serves the downloaded files?
Ive had a look into the backend of premiumize, which is a pretty similar service.
If its too niche of a problem, could you guys maybe give me some pointers so that I can try to implement the backend myself?
Thanks!
How to use GitHub
The text was updated successfully, but these errors were encountered: