Refactor: Dispatcharr (#10599)

* Refactor

* Oops

* add new deps

* fix: add new deps

---------

Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
This commit is contained in:
Slaviša Arežina
2026-01-06 22:44:27 +01:00
committed by GitHub
parent ee3f9c0bae
commit 6fccb76e1a
2 changed files with 24 additions and 29 deletions

View File

@@ -32,6 +32,16 @@ function update_script() {
setup_uv
NODE_VERSION="24" setup_nodejs
# Fix for nginx not allowing large files
if ! grep -q "client_max_body_size 100M;" /etc/nginx/sites-available/dispatcharr.conf; then
sed -i '/server_name _;/a \ client_max_body_size 100M;' /etc/nginx/sites-available/dispatcharr.conf
systemctl reload nginx
fi
if ! dpkg -s vlc-bin vlc-plugin-base &>/dev/null; then
$STD apt update && $STD apt install -y vlc-bin vlc-plugin-base
fi
if check_for_gh_release "Dispatcharr" "Dispatcharr/Dispatcharr"; then
msg_info "Stopping Services"
systemctl stop dispatcharr-celery