diff --git a/ct/navidrome.sh b/ct/navidrome.sh deleted file mode 100644 index 4383ec6..0000000 --- a/ct/navidrome.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) -# Copyright (c) 2021-2025 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/navidrome/navidrome - -APP="Navidrome" -var_tags="${var_tags:-music}" -var_disk="${var_disk:-7}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-2048}" -var_os="${var_os:-debian}" -var_version="${var_version:-12}" -var_unprivileged="${var_unprivileged:-1}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - if [[ ! -d /var/lib/navidrome ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - RELEASE=$(curl -fsSL https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk -F '"' '{print $4}') - if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then - msg_info "Stopping Services" - systemctl stop navidrome - msg_ok "Services Stopped" - - msg_info "Updating ${APP} to ${RELEASE}" - TMP_DEB=$(mktemp --suffix=.deb) - curl -fsSL -o "${TMP_DEB}" "https://github.com/navidrome/navidrome/releases/download/${RELEASE}/navidrome_${RELEASE#v}_linux_amd64.deb" - $STD apt-get install -y "${TMP_DEB}" - echo "${RELEASE}" >/opt/"${APP}_version.txt" - msg_ok "Updated Navidrome" - - msg_info "Starting Services" - systemctl start navidrome - msg_ok "Started Services" - - msg_info "Cleaning Up" - rm -f "${TMP_DEB}" - msg_ok "Cleaned" - msg_ok "Updated Successfully" - else - msg_ok "No update required. ${APP} is already at ${RELEASE}" - fi - exit -} - -start -build_container -description - -msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" -echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:4533${CL}" diff --git a/frontend/public/json/navidrome.json b/frontend/public/json/navidrome.json deleted file mode 100644 index 9d6f055..0000000 --- a/frontend/public/json/navidrome.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "Navidrome", - "slug": "Navidrome", - "categories": [ - 13 - ], - "date_created": "2025-04-28", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 4533, - "documentation": "https://www.navidrome.org/docs/", - "website": "https://www.navidrome.org/", - "logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/svg/navidrome.svg", - "config_path": "/var/lib/navidrome", - "description": "Navidrome is a web-based music server that allows you to stream your personal music collection from anywhere. It organizes your audio files and provides a clean interface for browsing and playback across various client apps. Navidrome can transcode your music for compatibility and supports many audio formats. You can create playlists and easily browse your library by artist, album, or genre. It's great for managing and accessing your own music on different devices without relying on external streaming services.", - "install_methods": [ - { - "type": "default", - "script": "ct/navidrome.sh", - "resources": { - "cpu": 2, - "ram": 2048, - "hdd": 7, - "os": "Debian", - "version": "12" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "music upload folder: ´/opt/navidrome/music´", - "type": "info" - } - ] -} diff --git a/install/navidrome-install.sh b/install/navidrome-install.sh deleted file mode 100644 index 9eb019d..0000000 --- a/install/navidrome-install.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2025 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://github.com/navidrome/navidrome - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing Dependencies (Patience)" -$STD apt-get install -y \ - ffmpeg -msg_ok "Installed Dependencies" - -msg_info "Installing Navidrome" -RELEASE=$(curl -fsSL https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk -F '"' '{print $4}') -TMP_DEB=$(mktemp --suffix=.deb) -curl -fsSL -o "${TMP_DEB}" "https://github.com/navidrome/navidrome/releases/download/${RELEASE}/navidrome_${RELEASE#v}_linux_amd64.deb" -$STD apt-get install -y "${TMP_DEB}" -systemctl enable -q --now navidrome -echo "${RELEASE}" >/opt/Navidrome_version.txt -msg_ok "Installed Navidrome" - -read -p "Do you want to install filebrowser addon? (y/n) " -n 1 -r -if [[ $REPLY =~ ^[Yy]$ ]]; then - bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/tools/addon/filebrowser.sh)" -fi - -motd_ssh -customize - -msg_info "Cleaning up" -rm -f "${TMP_DEB}" -$STD apt-get autoremove -$STD apt-get autoclean -msg_ok "Cleaned"