From 320127ea21aaec79623f59c56225b8bb215f0ea4 Mon Sep 17 00:00:00 2001 From: rorar <44790144+rorar@users.noreply.github.com> Date: Tue, 3 Dec 2024 23:27:27 +0100 Subject: [PATCH] feat(guides): SABnzbd - Updated description for utilizing the scripts folder (#2086) * Update index.md Added prerequisites for better understanding the following steps. It should be clearer now that the user needs to create a scripts folder and has to select it inside the settings. * Updated description for utilizing the scripts folder Added prerequisites for better understanding the following steps. It should be clearer now that the user needs to create a scripts folder and has to select it inside the settings. 2nd commit approach. I'm new to this stuff. * Updated description for utilizing the scripts folder Added prerequisites for better understanding the following steps. It should be clearer now that the user needs to create a scripts folder and has to select it inside the settings. 3rd commit approach. I'm new to this stuff. * feat(guides): Updated description for utilizing the scripts folder Added prerequisites for better understanding the following steps. It should be clearer now that the user needs to create a scripts folder and has to select it inside the settings. 4th commit approach. I'm new to this stuff. --- docs/Downloaders/SABnzbd/scripts/index.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/Downloaders/SABnzbd/scripts/index.md b/docs/Downloaders/SABnzbd/scripts/index.md index fffff464c..cefb15cc8 100644 --- a/docs/Downloaders/SABnzbd/scripts/index.md +++ b/docs/Downloaders/SABnzbd/scripts/index.md @@ -6,6 +6,12 @@ If you have a script you want to share, don't hesitate to create a [PR](https:// !!! warning "Because these scripts are community-provided and maintained we can't assure that they are still 100% working" +## Prerequisites + +- You've created folder called `scripts` in the root directory of SABnzbd +- You've set the `scripts` folder inside the SABnzbd settings under `Folder > User Folders > Scripts Folder`. ([More Infos](https://sabnzbd.org/wiki/configuration/4.3/folders)) +- Your script got sufficient rights to execute. ([More Infos](https://sabnzbd.org/wiki/configuration/4.3/scripts/post-processing-scripts)) + ## Clean ??? info "Clean NZB name" @@ -20,10 +26,11 @@ If you have a script you want to share, don't hesitate to create a [PR](https:// Install Instructions: - 1. Copy script to SABnzbd's script folder - 1. run: `sudo chmod +x Clean.py` - 1. in SABnzbd go to `Settings` => `Switches` - 1. Change Pre-queue user script and select: `Clean.py` + 1. Copy script to SABnzbd's `scripts` folder + 2. Use your prefered shell and navigate to the `scripts` folder with the command `cd` (example `cd /mnt/user/appdata/sabnzdb/scripts`). + 3. run: `sudo chmod +x Clean.py` + 4. in SABnzbd go to `Settings` => `Switches` + 5. Change Pre-queue user script and select: `Clean.py` ![!Enable Clean.py](/Downloaders/SABnzbd/images/sabnzbd-switches-queue-clean.png)