# [RandomNinjaAtk/sabnzbd-extended](https://github.com/RandomNinjaAtk/docker-sabnzbd-extended) [![Docker Build](https://img.shields.io/docker/cloud/automated/randomninjaatk/sabnzbd-extended?style=flat-square)](https://hub.docker.com/r/randomninjaatk/sabnzbd-extended) [![Docker Pulls](https://img.shields.io/docker/pulls/randomninjaatk/sabnzbd-extended?style=flat-square)](https://hub.docker.com/r/randomninjaatk/sabnzbd-extended) [![Docker Stars](https://img.shields.io/docker/stars/randomninjaatk/sabnzbd-extended?style=flat-square)](https://hub.docker.com/r/randomninjaatk/sabnzbd-extended) [![Docker Hub](https://img.shields.io/badge/Open%20On-DockerHub-blue?style=flat-square)](https://hub.docker.com/r/randomninjaatk/sabnzbd-extended) [![sabnzbd](https://raw.githubusercontent.com/RandomNinjaAtk/unraid-templates/master/randomninjaatk/img/sabnzbd-icon.png)](https://sabnzbd.org/) ### What is SABnzbd Extended: * Linuxserver.io SABnzbd docker container (develop tag) * Additional packages and scripts added to the container to provide additional functionality SABnzbd itself is not modified in any way. This is strictly SABnzbd Develop branch For more details, visit the [Wiki](https://github.com/RandomNinjaAtk/docker-sabnzbd-extended/wiki) This containers base image is provided by: [linuxserver/sabnzbd](https://github.com/linuxserver/docker-sabnzbd) ### All Arr-Extended Apps: * [sabnzbd-extended](https://github.com/RandomNinjaAtk/docker-sabnzbd-extended) * [lidarr-extended](https://github.com/RandomNinjaAtk/docker-lidarr-extended) * [radarr-extended](https://github.com/RandomNinjaAtk/docker-radarr-extended) * [sonarr-extended](https://github.com/RandomNinjaAtk/docker-sonarr-extended) * [readarr-extended](https://github.com/RandomNinjaAtk/docker-readarr-extended) ## Supported Architectures The architectures supported by this image are: | Architecture | Tag | | :----: | --- | | x86-64 | amd64-latest | ## Version Tags | Tag | Description | | :----: | --- | | latest | SAbnzbd + Extended Scripts + SMA | ## Parameters Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `:` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container. | Parameter | Function | | --- | --- | | `-p 8080` | The port for the Sonarr webinterface | | `-e PUID=1000` | for UserID - see below for explanation | | `-e PGID=1000` | for GroupID - see below for explanation | | `-v /config` | Sabnzbd application files | | `-e AUDIO_FORMAT=FLAC` | FLAC or OPUS or MP3 or AAC or ALAC - converts lossless FLAC files to set format | | `-e AUDIO_BITRATE=320` | Set to desired bitrate when converting to OPUS/MP3/AAC format types | | `-e AUDIO_VERIFY=TRUE` | TRUE = ENABLED, Verifies FLAC/MP3 files for errors (fixes MP3's, deletes bad FLAC files) | | `-e AUDIO_DSFA=TRUE` | TRUE = ENABLED :: Detects single file albums and mark download as failed if detected | | `-e AUDIO_REPLAYGAIN=FALSE` | TRUE = ENABLED, adds replaygain tags for compatible players (FLAC ONLY) | | `-e RequireLanguage=false` | true = enabled, disables/enables checking video audio/subtitle language based on VIDEO_LANG setting | | `-e VIDEO_LANG=eng` | Default: eng :: Set to required language (this is a "," separated list of ISO 639-2 language codes) | | `-e VIDEO_SMA=FALSE` | TRUE = Enabled :: Uses SMA to process incoming video files, update your configuration at: `/config/scripts/configs/*-sma.ini` | | `-e VIDEO_SMA_TAGGING=TRUE` | TRUE = Enabled :: Uses SMA to Tag MP4 files (Enabled SMA process: manual.py -a; Disabled SMA Process: manual.py -nt) | ## Application Setup Access the webui at `:8080`, for more information check out [SABnzbd](https://sabnzbd.org/). # Important Docker Information ### Important Paths: /config :: Location of SABnzbd aplication files
/config/scripts :: Location of SABnzbd post process script files (automatically mapped in SABnzbd)
/config/scripts/logs :: Location of script log files
/config/scritps/configs :: Location of config files
### Important SABNzbd Configuration: Folders Configuration:
* Scripts Folder :: Set to: /config/scripts
Switches: Post processing
* Pause Downloading During Post-Processing :: Highly recommended that you enable this setting to not overtask your system
Categories Configuration:
* lidarr :: Add category and post processing script: audio-pp.bash
* radarr :: Add category and post processing script: video-pp.bash
* sonarr :: Add category and post processing script: video-pp.bash
### Scripts/Files included: audio-pp.bash :: Automatically clean up downloaded audio files and convert to standardized format if desired
video-pp.bash :: Verify incoming video files for required audio/subtitle languages and process with SMA if enabled
### Sickbeard MP4 Automater (SMA): Config Files Location: /config/scritps/configs
* radarr-sma.ini :: config file for SMA (Applies to "radarr" category) * sonarr-sma.ini :: config file for SMA (Applies to "sonarr" category) Log Files Location: /config/scritps/logs
* sma.log :: Log file for SMA For more detailed configuration info, visit: https://github.com/mdhiggins/sickbeard_mp4_automator

### Hardware Acceleration: 1. Set the video codec in SMA config file to: `h264vaapi` (h254) or `h265vaapi` (h265)