@ -7,16 +7,15 @@ When you make use of the unRaid cache drive for your `/data/torrents` share and
Using the following instructions you will be able to move the files with the use of the qBittorrent API.
??? summary "Workflow Rules - [CLICK TO EXPAND]"
!!! summary "Workflow Rules - [CLICK TO EXPAND]"
1. Pause torrents older than last x days.
1. Run the mover.
1. Resume the torrents once the mover is completed.
!!! Danger
If you're going to make use of this make sure you're using `Post-Import Category` in your Starr apps [^1] Download clients settings, especially when you're using the Seed Time/Ratio settings in your Indexers settings in the Starr apps.
## Warning
Else it could happen when the torrents get paused that they get removed by the Starr apps before the seeding goal is reached :bangbang:
!!!Danger"Ifyoumake use of the Seed Time/Ratio settings in your Indexers settings in the Starr apps[^1].<br> Make sure you're using `Post-Import Category` in your Starr apps Download clients settings.<br>Else it could happen when the torrents get paused that they get removed by the Starr apps before the seeding goal is reached."
## Needed
@ -58,42 +57,35 @@ With this option we're going to install the qBit API when the Array is started t
Go to your unRaid Dashboard to your settings tab and select in the `User Utilities` at the bottom the new plugin you installed `User Scripts`.
??? check "Screenshot Example - [CLICK TO EXPAND]"
Select in the schedule list when the script should run, and choose `At First Array Start Only`.
??? check "Screenshot Example - [CLICK TO EXPAND]"

Click on `RUN IN BACKGROUND` or restart your unRaid server so the qBit API is installed.
??? check "Screenshot Example - [CLICK TO EXPAND]"

------
@ -105,7 +97,7 @@ With this option we're going to install the qBit API when the unRaid server is s
On your USB stick/key go to `/boot/config` and open the `go` file with your favorite editor ([VSCode](https://code.visualstudio.com/){:target="_blank" rel="noopener noreferrer"}/[Notepad++](https://notepad-plus-plus.org/downloads/){:target="_blank" rel="noopener noreferrer"}) and copy/paste the following command.
```bash
pip install qbittorrent-api
pip3 install qbittorrent-api
```
Restart your unRaid Server, or run the above command from the terminal.
@ -123,8 +115,8 @@ You only need to edit a few options in the script
# Set Number of Days to stop torrents for the move
days = 2
qbt_host = '192.168.2.200:8080'
qbt_user = admin
qbt_pass = adminadmin
qbt_user = 'admin'
qbt_pass = 'adminadmin'
# --DEFINE VARIABLES--#
```
@ -133,7 +125,7 @@ qbt_pass = adminadmin
- `qbt_user` => Your used qBittorrent `User Name` if you have authentication enabled.
- `qbt_pass` => Your used qBittorrent `Password` if you have authentication enabled.
!!! failure ""
!!! attention ""
If you don't use the unRaid `Mover Tuning` app, You might need to change **line 54** from `os.system('/usr/local/sbin/mover.old start')` to `os.system('/usr/local/sbin/mover start')`
#### Copy script to your preferred location
@ -151,22 +143,18 @@ Now it's time to setup the scheduler when the mover should run.
Go to your unRaid Dashboard to your settings tab and select in the `User Utilities` at the bottom the new plugin you installed `User Scripts`.
??? check "Screenshot Example - [CLICK TO EXPAND]"