Compare commits

...
Author SHA1 Message Date
CanbiZ (MickLesk) e5a7b7e3a3 Simplify FFmpeg installation in kyoo-install.sh
Removed comment about FFmpeg build and streamlined installation process.
2026-12-04 07:45:16 +01:00
MickLesk c52d54a310 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.
2026-12-04 07:27:21 +01:00
CanbiZ (MickLesk) f6d75d7a33 Revert "Refactor AdGuard Home update process (#19291)" (#19293)
This reverts commit 681e168ff7.
2026-12-04 06:33:09 +01:00
3 changed files with 30 additions and 3 deletions

No files matched your search

+22 -3
View File
@@ -32,9 +32,28 @@ variables
color
catch_errors
msg_info "Updating AdGuard Home"
$STD /opt/AdGuardHome/AdGuardHome --update
msg_ok "Updated AdGuard Home"
update_deb_based() {
if [[ ! -d /opt/AdGuardHome ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
msg_error "Adguard Home can only be updated via the user interface."
}
update_alpine() {
msg_info "Updating Alpine Packages"
$STD apk -U upgrade
msg_ok "Updated Alpine Packages"
msg_info "Updating AdGuard Home"
$STD /opt/AdGuardHome/AdGuardHome --update
msg_ok "Updated AdGuard Home"
msg_info "Restarting AdGuard Home"
$STD rc-service adguardhome restart
msg_ok "Restarted AdGuard Home"
msg_ok "Updated successfully!"
}
function update_script() {
header_info
+6
View File
@@ -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
+2
View File
@@ -25,6 +25,8 @@ $STD apt install -y \
msg_ok "Installed Dependencies"
setup_ffmpeg
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