This commit is contained in:
Alexandre
2023-02-01 13:53:16 +01:00
parent 12ebf302a5
commit 565ac2e5f5
23 changed files with 30 additions and 30 deletions

View File

@@ -1,10 +0,0 @@
{
"build_from": {
"aarch64": "lscr.io/linuxserver/sabnzb:arm64v8-latest",
"amd64": "lscr.io/linuxserver/sabnzb:amd64-latest",
"armv7": "lscr.io/linuxserver/sabnzb:arm32v7-latest"
},
"codenotary": {
"signer": "alexandrep.github@gmail.com"
}
}

View File

@@ -28,7 +28,7 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
S6_SERVICES_GRACETIME=0
# Global LSIO modifications
ARG CONFIGLOCATION="/config/addons_config/sabnzb"
ARG CONFIGLOCATION="/config/addons_config/sabnzbd"
# hadolint ignore=SC2015, SC2013, SC2086
RUN \
# Avoid custom-init.d duplications

View File

@@ -1,10 +1,10 @@
# Home assistant add-on: sabnzb
# Home assistant add-on: sabnzbd
[![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium)
![Version](https://img.shields.io/badge/dynamic/json?label=Version&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fsabnzb%2Fconfig.json)
![Ingress](https://img.shields.io/badge/dynamic/json?label=Ingress&query=%24.ingress&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fsabnzb%2Fconfig.json)
![Arch](https://img.shields.io/badge/dynamic/json?color=success&label=Arch&query=%24.arch&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fsabnzb%2Fconfig.json)
![Version](https://img.shields.io/badge/dynamic/json?label=Version&query=%24.version&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fsabnzbd%2Fconfig.json)
![Ingress](https://img.shields.io/badge/dynamic/json?label=Ingress&query=%24.ingress&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fsabnzbd%2Fconfig.json)
![Arch](https://img.shields.io/badge/dynamic/json?color=success&label=Arch&query=%24.arch&url=https%3A%2F%2Fraw.githubusercontent.com%2Falexbelgium%2Fhassio-addons%2Fmaster%2Fsabnzbd%2Fconfig.json)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/9c6cf10bdbba45ecb202d7f579b5be0e)](https://www.codacy.com/gh/alexbelgium/hassio-addons/dashboard?utm_source=github.com&utm_medium=referral&utm_content=alexbelgium/hassio-addons&utm_campaign=Badge_Grade)
[![GitHub Super-Linter](https://github.com/alexbelgium/hassio-addons/workflows/Lint%20Code%20Base/badge.svg)](https://github.com/marketplace/actions/super-linter)
@@ -18,13 +18,13 @@ _Thanks to everyone having starred my repo! To star it click on the image below,
## About
[sabnzb](http://sabnzb.net/) is a usenet downloader, written in C++ and designed with performance in mind to achieve maximum download speed by using very little system resources.
This addon is based on the docker image https://github.com/linuxserver/docker-sabnzb
[sabnzbd](http://sabnzbd.net/) is a usenet downloader, written in C++ and designed with performance in mind to achieve maximum download speed by using very little system resources.
This addon is based on the docker image https://github.com/linuxserver/docker-sabnzbd
## Configuration
Webui can be found at <http://your-ip:PORT>.
The default username/password : login:sabnzb, password:tegbzn6789
The default username/password : login:sabnzbd, password:tegbzn6789
Configurations can be done through the app webUI, except for the following options
```yaml
@@ -56,6 +56,6 @@ Create an issue on github
## Illustration
![illustration](https://sabnzb.com/img/slider/artistdetails.png)
![illustration](https://sabnzbd.com/img/slider/artistdetails.png)
[repository]: https://github.com/alexbelgium/hassio-addons

View File

@@ -1,6 +1,6 @@
#include <tunables/global>
profile sabnzb_addon flags=(attach_disconnected,mediate_deleted) {
profile sabnzbd_addon flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
capability,

10
sabnzbd/build.json Normal file
View File

@@ -0,0 +1,10 @@
{
"build_from": {
"aarch64": "lscr.io/linuxserver/sabnzbd:arm64v8-latest",
"amd64": "lscr.io/linuxserver/sabnzbd:amd64-latest",
"armv7": "lscr.io/linuxserver/sabnzbd:arm32v7-latest"
},
"codenotary": {
"signer": "alexandrep.github@gmail.com"
}
}

View File

@@ -53,7 +53,7 @@
"media:rw",
"config:rw"
],
"name": "Sabnzb",
"name": "Sabnzbd",
"options": {
"PGID": 0,
"PUID": 0
@@ -78,7 +78,7 @@
"localdisks": "str?",
"networkdisks": "str?"
},
"slug": "sabnzb",
"slug": "sabnzbd",
"url": "https://github.com/alexbelgium/hassio-addons",
"version": "test"
}

View File

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

@@ -1,7 +1,7 @@
#!/usr/bin/with-contenv bashio
# shellcheck shell=bash
slug=sabnzb
slug=sabnzbd
if [ ! -d /config/addons_config/$slug ]; then

View File

@@ -11,7 +11,7 @@ sed -i "s/%%port%%/${ingress_port}/g" /etc/nginx/servers/ingress.conf
sed -i "s/%%interface%%/${ingress_interface}/g" /etc/nginx/servers/ingress.conf
# Allows serving js
sed -i 's/<!-- %if-not-debug% -->/<!-- %if-not-debug% /g' /app/sabnzb/webui/index.html
sed -i 's/<!-- %end% -->/ %end% -->/g' /app/sabnzb/webui/index.html
sed -i 's/<!-- %if-debug%/<!-- %if-debug% -->/g' /app/sabnzb/webui/index.html
sed -i 's/ %end% -->/<!-- %end% -->/g' /app/sabnzb/webui/index.html
sed -i 's/<!-- %if-not-debug% -->/<!-- %if-not-debug% /g' /app/sabnzbd/webui/index.html
sed -i 's/<!-- %end% -->/ %end% -->/g' /app/sabnzbd/webui/index.html
sed -i 's/<!-- %if-debug%/<!-- %if-debug% -->/g' /app/sabnzbd/webui/index.html
sed -i 's/ %end% -->/<!-- %end% -->/g' /app/sabnzbd/webui/index.html

View File

@@ -5,7 +5,7 @@ server {
include /etc/nginx/includes/proxy_params.conf;
client_max_body_size 0;
root /app/sabnzb/webui;
root /app/sabnzbd/webui;
index index.html index.htm index.php;
location / {

View File

@@ -2,8 +2,8 @@
"github_fulltag": "true",
"last_update": "21-01-2023",
"repository": "alexbelgium/hassio-addons",
"slug": "sabnzb",
"slug": "sabnzbd",
"source": "github",
"upstream_repo": "linuxserver/docker-sabnzb",
"upstream_repo": "linuxserver/docker-sabnzbd",
"upstream_version": "v21.1-ls138"
}