This RClone Fork contains a rudementary implementation of Real-Debrid. Using this version, the entire RealDebrid /downloads "history" directory can be served as a read-only virtual drive.
A potential use-case for this is serving the /downloads directory over plex, allowing you to build a media library truly unlimted in size. Im working on a project that would allow plex to function the same way that Wako,Syncler and other streaming apps do. Keep an eye out for that ;)
- Read/Write capabilities are limited to reading files and deleting them.
- There are no server-side traffic limitations.
- Very old downloads may not work, since realdebrid seems to deactivate the generated direct links after some (yet to be determined) amount of time. This might be fixable by catching the error and re-generate the link, look for future versions.
- There is a server-side connection limit, which I believe is 16 parallel connections.
download the latest pre-built release from here: https://github.com/itsToggle/rclone_RD/releases
The realdebrid backend is implemented by overwriting the premiumize backend (for now).
- create a new remote using: 'rclone config'
- choose a name for your remote e.g. 'your-remote'
- choose 'premiumizeme' ('46')
- enter your realdebrid api key (https://real-debrid.com/apitoken)
- choose 'no advanced config'
- your RealDebrid remote is now set up.
- Mount the remote 'rclone cmount your-remote: your-destination:' - replace 'your-remote' with your remotes name. replace 'your-destination:' with a drive letter, e.g. 'X:'
- Enjoy!
- It is recommended to use the tag '--dir-cache-time 30s' when mounting, to regulary refresh the directory.
- It is recommended to use the tag '--vfs-cache-mode full' when mounting. Apperantly this speeds things up a bit.
an example mounting command would look like this: 'rclone cmount rdtest: X: --dir-cache-time 10s --vfs-cache-mode full'
I really do suggest downloading the pre-built release. But if you want to tinker a bit and built it yourself, here are the steps:
- Download the project files.
- Install Golang
- To build the project, you need to have MinGW or a different cgo adaptation installed.
- install WinFsp.
- If you dont want to mount the remote as a virtual drive but rather as a dlna server or silimar, use 'go build' to build the project.
- If you do want to mount the remote as a virtual drive, continue:
- Build the project using 'go build -tags cmount'.
- if that fails on 'fatal error: fuse_common.h missing', you need to do the following steps:
- Locate this folder: C:\Program Files (x86)\WinFsp\inc\fuse - inside you will find the missing files.
- Copy all files to the directory that they are missing from. For me that was: C:\Users\BigSchlong\go\pkg\mod\github.com\winfsp\[email protected]\fuse
- Try to build it again
I don't have the means to compile a release for Mac or Linux, so you will have to build it yourself.
- Download the project files
- Install Golang
- Run a terminal in the root directory of the project files
- use 'go build -tags cmount' to build the project
- If anything fails, Check the official rclone Channels for Help.