diff --git a/CHANGELOG.md b/CHANGELOG.md index 1dbc859..9dd81ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.33.1 - 2026-05-21 + +- Updated the Docker image build to install `yt-dlp` directly from the latest upstream GitHub release and verify the binary during the image build. + ## 0.33.0 - 2026-05-21 - Added Discord webhook notifications with Config page controls for the webhook URL, selectable notification events, and a one-click test action. diff --git a/Dockerfile b/Dockerfile index 27b45cc..f4c4321 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM python:3.12-slim ARG ANI_CLI=https://github.com/pystardust/ani-cli.git ARG ANI_CLI_BRANCH=master ARG ANI_CLI_WEB=https://gitea.coreplay.eu/Dymas/ani-cli-web.git +ARG YT_DLP_RELEASE_URL=https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp ENV DEBIAN_FRONTEND=noninteractive \ ANI_CLI_REPO=${ANI_CLI} \ @@ -41,6 +42,10 @@ RUN git clone --depth 1 --branch "${ANI_CLI_BRANCH}" "${ANI_CLI}" /tmp/ani-cli-s esac \ && rm -rf /tmp/ani-cli-src +RUN curl -fL "${YT_DLP_RELEASE_URL}" -o /usr/local/bin/yt-dlp \ + && chmod 0755 /usr/local/bin/yt-dlp \ + && yt-dlp --version + RUN git clone --depth 1 "${ANI_CLI_WEB}" /app \ && rm -rf /app/.git diff --git a/README.md b/README.md index 1f9a242..fafe6ff 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Small local web UI for a system-wide `ani-cli` install. -Current version: `0.33.0` +Current version: `0.33.1` ## Project Layout @@ -52,7 +52,7 @@ Default bind address is `127.0.0.1:8421`. ## Docker -The image installs `ani-cli` system-wide and clones `ani-cli-web` into `/app` during build. +The image installs `ani-cli` system-wide, downloads the latest upstream `yt-dlp` release binary from GitHub, and clones `ani-cli-web` into `/app` during build. Default build args: @@ -106,6 +106,7 @@ USER_UID="$(id -u)" USER_GID="$(id -g)" docker compose up --build -d Container notes: - `ani-cli` is installed at `/usr/local/bin/ani-cli`. +- `yt-dlp` is installed at `/usr/local/bin/yt-dlp` from the latest GitHub release during build. - `ani-cli-web` runs from `/app`. - Downloads go to `/downloads`. - App state lives in `/app/.ani-cli-web`. diff --git a/VERSION b/VERSION index be386c9..8df3f45 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.33.0 +0.33.1