Add playlist support to downloader API and frontend
Enhanced the downloader backend and frontend to support playlist URLs for video info and downloads. The API now returns structured playlist information, allows selecting specific videos for download, and returns a ZIP file for playlist downloads. Updated OpenAPI types, removed deprecated parameters (start_time, end_time, playlist_items), and improved Content Security Policy handling in nginx. Refactored frontend to handle playlist selection and updated generated API models accordingly.
This commit is contained in:
@@ -1,17 +1,12 @@
|
||||
# Step 1: Build React (Vite) app
|
||||
FROM node:22-alpine AS build
|
||||
FROM node:22 AS build
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
# Clean install with force flag to bypass cache issues
|
||||
#RUN rm -rf node_modules package-lock.json && \
|
||||
# npm cache clean --force && \
|
||||
# npm install --legacy-peer-deps
|
||||
|
||||
# install
|
||||
RUN npm install --legacy-peer-deps
|
||||
# Clean install
|
||||
RUN npm ci --legacy-peer-deps
|
||||
|
||||
# Copy source files
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user