feat: update UHF Server script to use setup_ffmpeg (#13564)

Co-authored-by: Zack Rupinga <zackruppert@livenation.com>
This commit is contained in:
Zack
2026-04-08 08:56:33 -04:00
committed by GitHub
parent be0d0a6a7a
commit 74c430ddf2
2 changed files with 7 additions and 1 deletions

View File

@@ -38,8 +38,14 @@ function update_script() {
$STD apt -y upgrade
msg_ok "Updated LXC"
msg_info "Updating UHF Server"
if dpkg -l ffmpeg 2>&1 | grep -q "ii"; then
apt remove ffmpeg -y && apt autoremove -y
fi
setup_ffmpeg
fetch_and_deploy_gh_release "comskip" "swapplications/comskip" "prebuild" "latest" "/opt/comskip" "comskip-x64-*.zip"
fetch_and_deploy_gh_release "uhf-server" "swapplications/uhf-server-dist" "prebuild" "latest" "/opt/uhf-server" "UHF.Server-linux-x64-*.zip"
msg_ok "Updated UHF Server"
msg_info "Starting Service"
systemctl start uhf-server

View File

@@ -15,7 +15,7 @@ update_os
setup_hwaccel
msg_info "Installing Dependencies"
$STD apt install -y ffmpeg
setup_ffmpeg
msg_ok "Installed Dependencies"
msg_info "Setting Up UHF Server Environment"