User wants reels saved directly to Nextcloud /folxspeed/REELS/FOLX SLOVENIJA/
NEW backend endpoint: POST /api/jobs/{id}/upload-nextcloud
- WebDAV PUT preko stdlib urllib (no new deps)
- Uses NEXTCLOUD_URL/USER/PASS/REELS_PATH env vars
- Updates job status: uploading → uploaded / error
- Stores nextcloud_url + nextcloud_error in job
Frontend already had button (☁ Nextcloud) and handler — just needed
backend endpoint. UI states:
- ☁ Nextcloud (blue) — not yet uploaded
- ☁ ✓ Nextcloud (green) — uploaded successfully
- ☁ ✕ Poskusi znova (red) — upload failed (hover for error)
Env vars added in Coolify:
- NEXTCLOUD_URL=https://nextcloud.folx.tv
- NEXTCLOUD_USER=admin
- NEXTCLOUD_PASS=<app token>
- NEXTCLOUD_REELS_PATH=folxspeed/REELS/FOLX SLOVENIJA
11 lines
208 B
Plaintext
11 lines
208 B
Plaintext
fastapi==0.115.0
|
|
uvicorn[standard]==0.32.0
|
|
python-multipart==0.0.12
|
|
pydantic==2.9.2
|
|
faster-whisper==1.0.3
|
|
opencv-python-headless==4.10.0.84
|
|
numpy==1.26.4
|
|
yt-dlp>=2025.10.0
|
|
pyacrcloud==1.0.11
|
|
requests==2.32.3
|