Implement Recovery Mode: Use yt-dlp to recover missing metadata for unindexed files

This commit is contained in:
wander 2026-01-05 01:21:38 -05:00
parent 180e0632e5
commit 07a7dd3c07
4 changed files with 291 additions and 7 deletions

View file

@ -3,7 +3,8 @@ WORKDIR /app
# 1. Install System Deps (ffmpeg) FIRST
# These rarely change, so Docker will cache this layer forever.
RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y ffmpeg curl && rm -rf /var/lib/apt/lists/*
RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && chmod a+rx /usr/local/bin/yt-dlp
# 2. Install Python Deps SECOND
# Only re-runs if requirements.txt changes