mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-12-27 09:26:25 +01:00
HIGH PRIORITY - Video Transcoding/Streaming: - mediamtx - RTSP/RTMP/HLS streaming server with ffmpeg - threadfin - M3U proxy for Plex/Emby/Jellyfin DVR (ffmpeg+VLC) - nxwitness - Nx Witness VMS/NVR surveillance with ffmpeg - metube - YouTube downloader with ffmpeg conversion - uhf - UHF DVR/recording server with ffmpeg - dispatcharr - IPTV dispatch system (ffmpeg+streamlink) - convertx - Universal file converter (ffmpeg+libva2) - teddycloud - Toniebox cloud with ffmpeg MEDIUM PRIORITY - Audio/Ambient Lighting: - navidrome - Music streaming server with ffmpeg transcoding - koel - Music streaming server with ffmpeg transcoding - audiobookshelf - Audiobook server with ffmpeg processing - hyperhdr - HDR ambient lighting with video capture - hyperion - Ambient lighting with video capture All apps now have: - var_gpu=yes in ct scripts for /dev/dri passthrough - setup_hwaccel in install scripts for driver installation
56 lines
1.4 KiB
Bash
56 lines
1.4 KiB
Bash
#!/usr/bin/env bash
|
|
|
|
# Copyright (c) 2021-2025 community-scripts ORG
|
|
# Author: zackwithak13
|
|
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
|
|
# Source: https://www.uhfapp.com/server
|
|
|
|
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
|
color
|
|
verb_ip6
|
|
catch_errors
|
|
setting_up_container
|
|
network_check
|
|
update_os
|
|
setup_hwaccel
|
|
|
|
msg_info "Installing Dependencies"
|
|
$STD apt install -y ffmpeg
|
|
msg_ok "Installed Dependencies"
|
|
|
|
msg_info "Setting Up UHF Server Environment"
|
|
mkdir -p /etc/uhf-server
|
|
mkdir -p /var/lib/uhf-server/data
|
|
mkdir -p /var/lib/uhf-server/recordings
|
|
cat <<EOF >/etc/uhf-server/.env
|
|
API_HOST=0.0.0.0
|
|
API_PORT=7568
|
|
RECORDINGS_DIR=/var/lib/uhf-server/recordings
|
|
DB_PATH=/var/lib/uhf-server/data/db.json
|
|
LOG_LEVEL=INFO
|
|
EOF
|
|
msg_ok "Set Up UHF Server Environment"
|
|
|
|
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_info "Creating Service"
|
|
cat <<EOF >/etc/systemd/system/uhf-server.service
|
|
[Unit]
|
|
Description=UHF Server service
|
|
After=syslog.target network-online.target
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/opt/uhf-server
|
|
EnvironmentFile=/etc/uhf-server/.env
|
|
ExecStart=/opt/uhf-server/uhf-server
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
EOF
|
|
systemctl enable -q --now uhf-server
|
|
msg_ok "Created Service"
|
|
|
|
motd_ssh
|
|
customize
|
|
cleanup_lxc
|