From 9bcc053b047e20885bf946ff2178c29629de1455 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Fri, 21 Mar 2025 17:04:59 +0100 Subject: [PATCH] add yt-dlp update --- ct/yt-dlp-webui.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ct/yt-dlp-webui.sh b/ct/yt-dlp-webui.sh index 48357fc..3e22864 100644 --- a/ct/yt-dlp-webui.sh +++ b/ct/yt-dlp-webui.sh @@ -28,6 +28,7 @@ function update_script() { exit fi + $STD yt-dlp -U RELEASE=$(curl -s https://api.github.com/repos/marcopiovanello/yt-dlp-web-ui/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') if [[ "${RELEASE}" != "$(cat /opt/yt-dlp-webui_version.txt)" ]] || [[ ! -f /opt/yt-dlp-webui_version.txt ]]; then