From a38a15df5b54d63dd1011d9b143bdbc7b47ec0f3 Mon Sep 17 00:00:00 2001 From: tremor021 Date: Mon, 29 Dec 2025 10:41:34 +0100 Subject: [PATCH] Sportarr: update --- ct/sportarr.sh | 14 +---------- frontend/public/json/sportarr.json | 40 ++++++++++++++++++++++++++++++ install/sportarr-install.sh | 6 ++++- 3 files changed, 46 insertions(+), 14 deletions(-) create mode 100644 frontend/public/json/sportarr.json diff --git a/ct/sportarr.sh b/ct/sportarr.sh index 6cbc76d83..2b6b36f37 100644 --- a/ct/sportarr.sh +++ b/ct/sportarr.sh @@ -33,19 +33,7 @@ function update_script() { systemctl stop sportarr msg_ok "Stopped Sportarr Service" - msg_info "Creating Backup" - - msg_ok "Created Backup" - - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "sportarr" "Sportarr/Sportarr" "prebuild" "latest" "/opt/sportarr" "Sportarr-linux-x64-*.tar.gz" - - msg_info "Updating sportarr" - - msg_ok "Updated sportarr" - - msg_info "Restoring Backup" - - msg_ok "Restored Backup" + fetch_and_deploy_gh_release "sportarr" "Sportarr/Sportarr" "prebuild" "latest" "/opt/sportarr" "Sportarr-linux-x64-*.tar.gz" msg_info "Starting Sportarr Service" systemctl start sportarr diff --git a/frontend/public/json/sportarr.json b/frontend/public/json/sportarr.json new file mode 100644 index 000000000..1da25756f --- /dev/null +++ b/frontend/public/json/sportarr.json @@ -0,0 +1,40 @@ +{ + "name": "Sportarr", + "slug": "sportarr", + "categories": [ + 14 + ], + "date_created": "2025-12-12", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": 1867, + "documentation": "https://sportarr.net/docs", + "config_path": "/opt/sportarr/.env, /opt/sportarr-data/config/config.xml", + "website": "https://sportarr.net/", + "logo": "", + "description": "Sportarr is an automated media management application for all sports. It works similar to Sonarr and Radarr but specifically designed for combat sports, basketball, football, hockey, motorsports, and hundreds of other sports worldwide.", + "install_methods": [ + { + "type": "default", + "script": "ct/sportarr.sh", + "resources": { + "cpu": 2, + "ram": 2048, + "hdd": 8, + "os": "Debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": null, + "password": null + }, + "notes": [ + { + "text": "The resources assigned to LXC are considered baseline. Please adjust to match your workload.", + "type": "info" + } + ] +} diff --git a/install/sportarr-install.sh b/install/sportarr-install.sh index fa2b5a9ef..79d9c00e3 100644 --- a/install/sportarr-install.sh +++ b/install/sportarr-install.sh @@ -13,11 +13,15 @@ setting_up_container network_check update_os +msg_info "Installing Dependencies" +$STD apt install -y ffmpeg +msg_ok "Installed Dependencies" + fetch_and_deploy_gh_release "sportarr" "Sportarr/Sportarr" "prebuild" "latest" "/opt/sportarr" "Sportarr-linux-x64-*.tar.gz" msg_info "Setting up Sportarr" cat </opt/sportarr/.env -Sportarr__DataPath="/opt/sportarr/config" +Sportarr__DataPath="/opt/sportarr-data/config" ASPNETCORE_URLS="http://*:1867" ASPNETCORE_ENVIRONMENT="Production" DOTNET_CLI_TELEMETRY_OPTOUT=1