From bc11b0cd2db954d865ff4a2462379029c09af0b7 Mon Sep 17 00:00:00 2001 From: GoldenSpring Date: Sat, 27 Dec 2025 10:45:27 +0300 Subject: [PATCH] changed files for testing --- ct/sonobarr.sh | 2 +- frontend/public/json/sonobarr.json | 35 ++++++++++++++++++++++++++++++ misc/build.func | 4 ++-- 3 files changed, 38 insertions(+), 3 deletions(-) create mode 100644 frontend/public/json/sonobarr.json diff --git a/ct/sonobarr.sh b/ct/sonobarr.sh index 96b599267..aac1fcba2 100644 --- a/ct/sonobarr.sh +++ b/ct/sonobarr.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/GoldenSpringness/ProxmoxVED/refs/heads/feature/sonobarr/misc/build.func) # Copyright (c) 2021-2025 community-scripts ORG # Author: GoldenSpringness # License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE diff --git a/frontend/public/json/sonobarr.json b/frontend/public/json/sonobarr.json new file mode 100644 index 000000000..77ae4be76 --- /dev/null +++ b/frontend/public/json/sonobarr.json @@ -0,0 +1,35 @@ +{ + "name": "Sonobarr", + "slug": "sonobarr", + "categories": [ + 14 + ], + "date_created": "2025-12-27", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": 5000, + "documentation": "https://github.com/Dodelidoo-Labs/sonobarr", + "config_path": "gunicorn_config.py", + "website": "https://github.com/Dodelidoo-Labs/sonobarr", + "logo": "https://camo.githubusercontent.com/cc3f9cb9e157fbdee667130c50ba431fffc407a3d5c6cdf415574d652dd8484f/68747470733a2f2f696e756265732e6170702f617070732f66696c65735f73686172696e672f7075626c6963707265766965772f356a36574a597243476342696a646f3f66696c653d2f2666696c6549643d323731323226783d3338343026793d3231363026613d7472756526657461673d6535393833393032393962643532643062393863663835613464376161636565", + "description": "Sonobarr marries your existing Lidarr library with Last.fm’s discovery graph to surface artists you'll actually like. It runs as a Flask + Socket.IO application, ships with a polished Bootstrap UI, and includes admin tooling so folks can share a single instance safely.", + "install_methods": [ + { + "type": "default", + "script": "ct/sonobarr.sh", + "resources": { + "cpu": 1, + "ram": 1, + "hdd": 20, + "os": "Debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": null, + "password": null + }, + "notes": [] +} diff --git a/misc/build.func b/misc/build.func index c1674fb49..73b7ccf51 100644 --- a/misc/build.func +++ b/misc/build.func @@ -3199,7 +3199,7 @@ EOF' set +Eeuo pipefail # Disable ALL error handling temporarily trap - ERR # Remove ERR trap completely - lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/install/${var_install}.sh)" + lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/GoldenSpringness/ProxmoxVED/refs/heads/feature/sonobarr/install/${var_install}.sh)" local lxc_exit=$? set -Eeuo pipefail # Re-enable error handling @@ -3286,7 +3286,7 @@ EOF' if [[ "${DEV_MODE_MOTD:-false}" == "true" ]]; then echo -e "${TAB}${HOLD}${DGN}Setting up MOTD and SSH for debugging...${CL}" if pct exec "$CTID" -- bash -c " - source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVED/main/misc/install.func) + source <(curl -fsSL https://raw.githubusercontent.com/GoldenSpringness/ProxmoxVED/refs/heads/feature/sonobarr/misc/install.func) declare -f motd_ssh >/dev/null 2>&1 && motd_ssh || true " >/dev/null 2>&1; then local ct_ip=$(pct exec "$CTID" ip a s dev eth0 2>/dev/null | awk '/inet / {print $2}' | cut -d/ -f1)