Skip to content

RandomNinjaAtk/sabnzbd-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sabnzbd-scripts

This project is my own personal documenation for various scripts I've written to improve and further automate the usage of the SABnzbd. Support is not guaranteed, scripts are provided as-is...

Requirements:

SABnzbd docker container by Linuxserver.io

Setup:

  1. Add volume to your container: /custom-cont-init.d
    Docker Run Example:
    -v /path/to/preferred/local/directory:/custom-cont-init.d
  2. Download the script_init.bash (Download Link and place it into the following folder: /custom-cont-init.d)
  3. Start or Restart your container and wait for the application to load
  4. Customize the configuration by modifying the following file /config/scripts/settings.conf
  5. Add the /config/scripts folder to the "Scripts Folder" folder setting in SABnzbd
  6. Add video.bash script to the either theradarr or sonarr or sonarr-anime category. If the category does not exist, create the radarr or sonarr or sonarr-anime category and use radarr or sonarr or sonarr-anime for the folder path.

Scripts:

video.bash

This script is used to post process files in SABnzbd before Arr apps pickup the files. What it does:

  • Remux all files to MKV
  • Validate files have the required audio/subtitle track language
  • Strip unwanted audio/subtitle tracks
  • Keep the Original Audio Track, only when a subtitle tracks is available in the required language and the downloads original language does not match the required language. It will also keep any other audio tracks that match the required language.
  • Mark downloads as failed in SABnzbd, when they don't meet language requirements

Logging

Logs are generated for each script execution. However, log files are rotated after every 5 executions to only keep the latest 5 log files. Logs can be found in the following folder: /config/logs

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Languages