update
This commit is contained in:
@@ -11,13 +11,13 @@
|
||||
- DELETE /videos?profile_id=X&exclude_ids= — Videos des Profils loeschen (ausser lokal gespeicherte)
|
||||
- POST /videos/{id}/download — Download triggern
|
||||
- GET /videos/{id}/stream — Video streamen
|
||||
- GET /videos/{id}/file — Video-Datei zum Download ausliefern
|
||||
- GET /videos/{id}/file — Video-Datei zum Download ausliefern, setzt Download-Status zurueck wenn Datei fehlt
|
||||
- DELETE /videos/{id}/file — Server-Datei loeschen (nach lokalem Download)
|
||||
- WS /ws — WebSocket, benachrichtigt Clients bei neuen Videos
|
||||
## Services
|
||||
- VideoService — Videos speichern, abrufen, Status verwalten
|
||||
- DownloadService — yt-dlp aufrufen, Video herunterladen
|
||||
- StreamService — Live-Streaming via yt-dlp + ffmpeg
|
||||
- StreamService — ffmpeg Live-Muxing von Video+Audio, gleichzeitiges Streaming und Speichern
|
||||
## Model
|
||||
- Video — id, title, youtuber, thumbnail_url, youtube_url, file_path
|
||||
- Profile — id, name
|
||||
@@ -27,11 +27,11 @@
|
||||
- AllVideosScreen — alle Videos als Cards
|
||||
- DownloadedVideosScreen — heruntergeladene Videos als Cards
|
||||
- VideoDetailScreen — Starten, Download, Zurück, Löschen
|
||||
- VideoPlayerScreen — Player mit Standard-Controls
|
||||
- VideoPlayerScreen — Player mit Standard-Controls, Rotation behaelt Video-Position bei
|
||||
## ViewModel
|
||||
- VideoViewModel — Video-State verwalten, API-Aufrufe triggern, lokal bevorzugen sonst streamen
|
||||
## Services
|
||||
- LocalStorageService — Videos lokal speichern, pruefen, loeschen
|
||||
- LocalStorageService — Videos und Metadaten lokal speichern, pruefen, loeschen (offline verfuegbar)
|
||||
## API
|
||||
- ServerApi — kommuniziert mit FastAPI (GET /profiles, GET /videos, POST /download, GET /stream, GET /videos/{id}/file, DELETE /videos/{id}/file, DELETE /videos)
|
||||
## Model
|
||||
|
||||
Reference in New Issue
Block a user