From 6401b04a8bb155dd7eb737081684c284604b7e40 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 13 Jan 2026 10:15:16 +0100 Subject: [PATCH] ampache json --- ct/ampache.sh | 2 +- frontend/public/json/ampache.json | 48 +++++++++++++++++++++++++++++++ install/ampache-install.sh | 2 +- 3 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 frontend/public/json/ampache.json diff --git a/ct/ampache.sh b/ct/ampache.sh index eb5e949c0..70e8ea9d0 100644 --- a/ct/ampache.sh +++ b/ct/ampache.sh @@ -11,7 +11,7 @@ var_disk="${var_disk:-5}" var_cpu="${var_cpu:-4}" var_ram="${var_ram:-2048}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/frontend/public/json/ampache.json b/frontend/public/json/ampache.json new file mode 100644 index 000000000..16df69787 --- /dev/null +++ b/frontend/public/json/ampache.json @@ -0,0 +1,48 @@ +{ + "name": "Ampache", + "slug": "ampache", + "categories": [ + 13 + ], + "date_created": "2026-01-13", + "type": "ct", + "updateable": true, + "privileged": false, + "interface_port": 80, + "documentation": "https://github.com/ampache/ampache/wiki", + "website": "https://ampache.org/", + "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/ampache.webp", + "config_path": "/opt/ampache/config/ampache.cfg.php", + "description": "Ampache is a web-based audio streaming application and file manager that allows you to access your music & videos from anywhere. It features a powerful music catalog, multiple user support, transcoding, streaming, and more.", + "install_methods": [ + { + "type": "default", + "script": "ct/ampache.sh", + "resources": { + "cpu": 4, + "ram": 2048, + "hdd": 5, + "os": "debian", + "version": "13" + } + } + ], + "default_credentials": { + "username": null, + "password": null + }, + "notes": [ + { + "text": "Complete the web-based setup at http://IP/install.php", + "type": "info" + }, + { + "text": "Database credentials are stored in ~/ampache.creds", + "type": "info" + }, + { + "text": "Supports multiple music formats with transcoding capabilities", + "type": "info" + } + ] +} diff --git a/install/ampache-install.sh b/install/ampache-install.sh index c3892c15d..679572993 100644 --- a/install/ampache-install.sh +++ b/install/ampache-install.sh @@ -14,7 +14,7 @@ network_check update_os msg_info "Installing Dependencies" -$STD apt-get install -y \ +$STD apt install -y \ flac \ vorbis-tools \ lame \