mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-12-05 06:04:11 +01:00
Kyoo: install the FFmpeg build its transcoder needs (#19290)
Since Kyoo 5.3.0 the transcoder passes HLS options that only exist in zoriya/ffmpeg. The prebuilt release goes to /opt/kyoo-ffmpeg and is linked into /usr/local/bin; Debian's ffmpeg stays for its libraries. The update fetches it too, so existing installs are repaired.
This commit is contained in:
1 parent
f6d75d7a33
commit
c52d54a310
2 files changed
+9
No files matched your search
@@ -32,6 +32,12 @@ function update_script() {
|
||||
exit
|
||||
fi
|
||||
|
||||
if check_for_gh_release "kyoo-ffmpeg" "zoriya/ffmpeg"; then
|
||||
CLEAN_INSTALL=1 fetch_and_deploy_gh_release "kyoo-ffmpeg" "zoriya/ffmpeg" "prebuild" "latest" "/opt/kyoo-ffmpeg" "ffmpeg-*-linux-$(arch_resolve).tar.xz"
|
||||
ln -sf /opt/kyoo-ffmpeg/ffmpeg /opt/kyoo-ffmpeg/ffprobe /usr/local/bin/
|
||||
systemctl restart kyoo-transcoder
|
||||
fi
|
||||
|
||||
if check_for_gh_release "kyoo" "zoriya/Kyoo"; then
|
||||
msg_info "Stopping Kyoo"
|
||||
systemctl stop kyoo-scanner kyoo-api kyoo-transcoder kyoo-auth
|
||||
|
||||
@@ -25,6 +25,9 @@ $STD apt install -y \
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
setup_ffmpeg
|
||||
# Kyoo needs its own FFmpeg build; it links against the libraries of Debian's package
|
||||
fetch_and_deploy_gh_release "kyoo-ffmpeg" "zoriya/ffmpeg" "prebuild" "latest" "/opt/kyoo-ffmpeg" "ffmpeg-*-linux-$(arch_resolve).tar.xz"
|
||||
ln -sf /opt/kyoo-ffmpeg/ffmpeg /opt/kyoo-ffmpeg/ffprobe /usr/local/bin/
|
||||
setup_hwaccel
|
||||
PG_VERSION="18" setup_postgresql
|
||||
PG_DB_NAME="kyoo" PG_DB_USER="kyoo" setup_postgresql_db
|
||||
|
||||
Reference in new issue
Block a user