-
Notifications
You must be signed in to change notification settings - Fork 154
Setup Guides
This setup guide will follow the readme closely, but will go into more detail in some areas. This setup will utilize "screens", which are virtual Linux terminals.
- open a linux terminal
- run
apt install screen - run
apt install git - install python 3.XX if not present
- install pip if not present
Please keep in mind that most debrid services dont allow you to access their service from multiple IP addresses in parallel. This is not an issue if you have a Plex server running, since everything you stream through plex (from any location, no matter how many in parallel) is routed through your servers IP address. While you have your plex server running though, you should not download from your debrid service in any other way than through plex.
- open a linux terminal
- run
wget https://github.com/itsToggle/rclone_RD/releases/download/v1.58.1-rd.2.0/rclone-linux-arm64 - run
chmod u+x ./rclone-linux-arm64 - run
./rclone-linux-arm64 config - type
nto create a new rclone remote - type
realdebridto name your new remote "realdebrid" - type
47to choose the remote type "47) realdebrid" - enter your realdebrid API key (https://real-debrid.com/apitoken)
- choose "no" when asked for advanced settings
- continue through the rest of the prompted instructions.
- type
qto quit the rclone config menu. - run
mkdir torrentsto create a directory named "torrents" - run
screen -S rcloneto create a new virtual terminal named "rclone" - press enter. You are now in the virtual terminal.
- run
./rclone-linux-arm64 mount realdebrid: torrents --dir-cache-time 10s --allow-other - you should see the message "The service rclone has been started"
- press
ctrl+aand then pressdto exit out of the virtual terminal. - run
ls torrentsto confirm that you can now see the 3 folders "default", "movies" and "shows". If you don't see anything or you get errors, runscreen -r rcloneto return to your virtual rclone terminal and investigate any errors. - you have successfully mounted realdebrid. You can return to your virtual rclone terminal any time by running
screen -r rclone.
follow any number of online guides on how to install and start your Plex server. Once the server is running and you have claimed it with your Plex account, follow these steps:
- open a linux terminal
- run
chown -R plex:plex torrents - open the Plex webUI
- create a new Plex library for movies, add the folders "/torrents/default" and "/torrents/movies"
- create a new Plex library for shows, add the folders "/torrents/default" and "/torrents/shows"
- Recommendation: disable 'video preview thumbnails', disable the scheduled task 'perfom extensive media analysis' to reduce the download traffic
- Disable the libary setting "Empty trash after every scan", to make sure that no content is removed accidentaly
- open a linux terminal
- run
git clone https://github.com/itsToggle/plex_debrid - run
pip install -r ./plex_debrid/requirements.txt - run
screen -S plex_debridto create a new virtual terminal named "plex_debrid" - press enter. You are now in the virtual terminal.
- run
python ./plex_debrid/main.py - follow the setup instructions
- choose option "1) Run" to run the download automation
- press
ctrl+aand then pressdto exit out of the virtual terminal. You can return to the terminal any time by runningscreen -r plex_debrid
This setup guide will follow the readme closely, but will go into more detail in some areas. This setup will utilize "screens", which are virtual Linux terminals.
- open a linux terminal
- run
apt install screen - run
apt install git - install python 3.XX if not present
- install pip if not present
Please keep in mind that most debrid services dont allow you to access their service from multiple IP addresses in parallel. This is not an issue if you have a Plex server running, since everything you stream through plex (from any location, no matter how many in parallel) is routed through your servers IP address. While you have your plex server running though, you should not download from your debrid service in any other way than through plex.
- open a linux terminal
- run
wget https://github.com/itsToggle/rclone_RD/releases/download/v1.58.1-rd.2.0/rclone-linux - run
chmod u+x ./rclone-linux - run
./rclone-linux config - type
nto create a new rclone remote - type
realdebridto name your new remote "realdebrid" - type
47to choose the remote type "47) realdebrid" - enter your realdebrid API key (https://real-debrid.com/apitoken)
- choose "no" when asked for advanced settings
- continue through the rest of the prompted instructions.
- type
qto quit the rclone config menu. - run
mkdir torrentsto create a directory named "torrents" - run
screen -S rcloneto create a new virtual terminal named "rclone" - press enter. You are now in the virtual terminal.
- run
./rclone-linux mount realdebrid: torrents --dir-cache-time 10s --allow-other - you should see the message "The service rclone has been started"
- press
ctrl+aand then pressdto exit out of the virtual terminal. - run
ls torrentsto confirm that you can now see the 3 folders "default", "movies" and "shows". If you don't see anything or you get errors, runscreen -r rcloneto return to your virtual rclone terminal and investigate any errors. - you have successfully mounted realdebrid. You can return to your virtual rclone terminal any time by running
screen -r rclone.
follow any number of online guides on how to install and start your Plex server. Once the server is running and you have claimed it with your Plex account, follow these steps:
- open a linux terminal
- run
chown -R plex:plex torrents - open the Plex webUI
- create a new Plex library for movies, add the folders "/torrents/default" and "/torrents/movies"
- create a new Plex library for shows, add the folders "/torrents/default" and "/torrents/shows"
- Recommendation: disable 'video preview thumbnails', disable the scheduled task 'perfom extensive media analysis' to reduce the download traffic
- Disable the libary setting "Empty trash after every scan", to make sure that no content is removed accidentaly
- open a linux terminal
- run
git clone https://github.com/itsToggle/plex_debrid - run
pip install -r ./plex_debrid/requirements.txt - run
screen -S plex_debridto create a new virtual terminal named "plex_debrid" - press enter. You are now in the virtual terminal.
- run
python ./plex_debrid/main.py - follow the setup instructions
- choose option "1) Run" to run the download automation
- press
ctrl+aand then pressdto exit out of the virtual terminal. You can return to the terminal any time by runningscreen -r plex_debrid
This setup guide will follow the readme closely, but will go into more detail in some areas.
- install python 3.XX
- install pip (https://pypi.org/project/pip/)
- install winfsp (https://winfsp.dev/)
Please keep in mind that most debrid services dont allow you to access their service from multiple IP addresses in parallel. This is not an issue if you have a Plex server running, since everything you stream through plex (from any location, no matter how many in parallel) is routed through your servers IP address. While you have your plex server running though, you should not download from your debrid service in any other way than through plex.
- download the latest 'rclone.exe' file from here: https://github.com/itsToggle/rclone_RD/releases
- create a folder on your desktop named "rclone" and open it
- copy the downloaded "rclone.exe" file to that folder.
- windows 10: in the opened windows explorer, click on the "file" ribbon and then click on "open PowerShell here" to open a terminal windows 11: right-click on the "rclone" folder on your desktop. Press and hold the
shiftkey on your keyboard and click on "show more options". Select "Open PowerShell here". A terminal opens. - inside the terminal, write the command
./rclone.exe configand press enter - type
nto create a new rclone remote - enter
realdebridas the name of the remote - enter
47to choose the "realdebrid" remote type - enter your realdebrid API key (https://real-debrid.com/apitoken)
- choose
nowhen asked to edit the advanced configuration - follow the rest of the prompted instructions
- enter
qto quit out of the rclone config menu - enter
./rclone.exe cmount realdebrid: X: --dir-cache-time 10sto mount realdebrid. A new virtual computer drive with the letterXnamedrealdebridshould show up on your computer. You should find 3 folders inside it, "movies", "shows" and "default". - keep the terminal opened in order to keep rclone running. If everything works and you want to run rclone in the background, you can close the terminal and open it again like described in step 4. Now run the command
./rclone.exe cmount realdebrid: X: --dir-cache-time 10s --no-console. The console should close and rclone should run in the background. For an autostart routine for both rclone and plex_debrid check out: https://discord.com/channels/1021692389368283158/1021692389812871170/1034011741979414538
-
follow any number of online guides on how to install and start your Plex server. Once the server is running and you have claimed it with your Plex account, follow these steps:
-
open the Plex webUI
-
create a new Plex library for movies, add the folders "X:/default" and "X:/movies"
-
create a new Plex library for shows, add the folders "X:/default" and "X:/shows"
-
Recommendation: disable 'video preview thumbnails', disable the scheduled task 'perfom extensive media analysis' to reduce the download traffic
-
Disable the libary setting "Empty trash after every scan", to make sure that no content is removed accidentaly
- open https://GitHub.com/itsToggle/plex_debrid click on "code" (top right) and then "download zip". Extract the downloaded zip to your desktop, which should create a "plex_debrid" folder.
- windows 10: open the "plex_debrid" folder. in the opened windows explorer, click on the "file" ribbon and then click on "open PowerShell here" to open a terminal windows 11: right-click on the "plex_debrid" folder on your desktop. Press and hold the
shiftkey on your keyboard and click on "show more options". Select "Open PowerShell here". A terminal opens. - inside the terminal, run
pip install -r requirements.txt - start the script by running
python ./main.py - follow the prompted instructions and the main readme from here.
- For an autostart routine for both rclone and plex_debrid check out: https://discord.com/channels/1021692389368283158/1021692389812871170/1034011741979414538