@ -46,28 +46,33 @@ After you installed the needed Plugins it's time to configure everything.
The script needs the qBit API to work, so we need to make sure it's installed when your unRaid server is booted or when the Array is started the first time.
You can choose from the following 2 options how you want to install it, depending what you preferce.
- [User scripts](#user-scripts)
- [Go File](#go-file)
#### User scripts
With this option we're going to install the qBit API when the Array is started the first time.
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 "Example - [CLICK TO EXPAND]"
??? check "Screenshot Example - [CLICK TO EXPAND]"
Select in the schedule list when the script should run, and choose `At First Array Start Only`.
??? check "Example - [CLICK TO EXPAND]"
??? check "Screenshot Example - [CLICK TO EXPAND]"
![!Set Run Time](images/Unraid-settings-user-scripts-qbit-api-schedule.png)
Click on `RUN IN BACKGROUND` or restart your unRaid server so the qBit API is installed.
??? check "Example - [CLICK TO EXPAND]"
??? check "Screenshot Example - [CLICK TO EXPAND]"
![!RUN IN BACKGROUND](images/Unraid-settings-user-scripts-qbit-api-run-background.png)
------
@ -96,7 +101,7 @@ Click on `RUN IN BACKGROUND` or restart your unRaid server so the qBit API is in
With this option we're going to install the qBit API when the unRaid server is started.
On your USB stick/key go to `/boot/config` and open the `go` file in your favorite editor and copy/paste the following command.
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
@ -108,6 +113,8 @@ Restart your unRaid Server, or run the above command from the terminal.
### Script
Edit the script 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"}) you downloaded at the beginning of the guide [HERE](#the-script).
You only need to edit a few options in the script
```python
@ -121,7 +128,7 @@ qbt_pass = adminadmin
```
- `days` => Set Number of Days to stop torrents for the move.
- `qbt_host` => The URL you use to access qBittorrent locally.
- `qbt_host` => The URL you use to access qBittorrent locally. (*the* `'`*should remain*)
- `qbt_user` => Your used qBittorrent `User Name` if you have authentication enabled.
- `qbt_pass` => Your used qBittorrent `Password` if you have authentication enabled.
@ -130,7 +137,7 @@ qbt_pass = adminadmin
#### Copy script to your preferred location
Now it's time to place the script somewhere easy to access/remember.
Now it's time to place the script you just edited somewhere easy to access/remember.
Suggestions:
@ -143,22 +150,22 @@ 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 "Example - [CLICK TO EXPAND]"
??? check "Screenshot Example - [CLICK TO EXPAND]"