From 2c6a57834385964fa9a4b1af17447236a36a7f68 Mon Sep 17 00:00:00 2001 From: eXistC <65996099+eXistC@users.noreply.github.com> Date: Sat, 12 Sep 2026 22:30:42 +1000 Subject: [PATCH] fix(dispatcharr): add comskip installation and build dependencies (#16224) --- ct/dispatcharr.sh | 13 ++++++++++++- install/dispatcharr-install.sh | 17 ++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/ct/dispatcharr.sh b/ct/dispatcharr.sh index ed0e3535e..3572297ec 100644 --- a/ct/dispatcharr.sh +++ b/ct/dispatcharr.sh @@ -106,7 +106,18 @@ EOF msg_ok "Migrated Nginx Configuration" fi - ensure_dependencies vlc-bin vlc-plugin-base + ensure_dependencies vlc-bin vlc-plugin-base build-essential autoconf libtool libargtable2-dev libavformat-dev libsdl2-dev libswscale-dev + + if ! command -v comskip &> /dev/null; then + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "Comskip" "erikkaashoek/Comskip" "tarball" + msg_info "Compiling Comskip" + cd /opt/Comskip + $STD ./autogen.sh + $STD ./configure + $STD make + $STD make install + msg_ok "Compiled and Installed Comskip" + fi if check_for_gh_release "Dispatcharr" "Dispatcharr/Dispatcharr"; then msg_info "Stopping Services" diff --git a/install/dispatcharr-install.sh b/install/dispatcharr-install.sh index 273ddaa43..9c538785d 100644 --- a/install/dispatcharr-install.sh +++ b/install/dispatcharr-install.sh @@ -25,7 +25,13 @@ $STD apt install -y \ procps \ vlc-bin \ vlc-plugin-base \ - streamlink + streamlink \ + autoconf \ + libtool \ + libargtable2-dev \ + libavformat-dev \ + libsdl2-dev \ + libswscale-dev msg_ok "Installed Dependencies" setup_uv @@ -33,6 +39,15 @@ NODE_VERSION="24" setup_nodejs PG_VERSION="16" setup_postgresql PG_DB_NAME="dispatcharr_db" PG_DB_USER="dispatcharr_usr" setup_postgresql_db fetch_and_deploy_gh_release "dispatcharr" "Dispatcharr/Dispatcharr" "tarball" +fetch_and_deploy_gh_release "Comskip" "erikkaashoek/Comskip" "tarball" + +msg_info "Compiling Comskip" +cd /opt/Comskip +$STD ./autogen.sh +$STD ./configure +$STD make +$STD make install +msg_ok "Compiled and Installed Comskip" msg_info "Installing Python Dependencies with uv" cd /opt/dispatcharr