From 1d7d9d8667c834ed229e5c0ab87080e7a4078816 Mon Sep 17 00:00:00 2001 From: Nox Date: Wed, 11 Mar 2026 10:45:31 +0000 Subject: [PATCH] =?UTF-8?q?memory:=20m=C3=A9thode=20API=20VidBee=20(oRPC?= =?UTF-8?q?=20/rpc/,=20format=20json)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MEMORY.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/MEMORY.md b/MEMORY.md index 726a205..fde79a4 100644 --- a/MEMORY.md +++ b/MEMORY.md @@ -334,6 +334,21 @@ send({ type: 'lovelace/config', url_path: 'vue-par-pieces' }) - **Suivi tension** dans `memory/YYYY-MM-DD.md` — tableau SYS/DIA/Pouls - **Première mesure :** 2026-02-25 12:08 → 145/94 mmHg, pouls 77 bpm (HTA stade 1) +## VidBee — Téléchargement vidéo + +- UI : http://192.168.1.150:3800 | API : http://192.168.1.150:3801 +- Stack Portainer : `vidbee` (id=101) +- Fichiers dans : `/share/ZFS24_DATA/docker/vidbee/downloads/` +- **Toutes les routes API sont en POST sous `/rpc/`** (pas `/openapi/`, pas sans préfixe) +- **Format oRPC** : body `{"json": {...}}`, réponse `{"json": {...}}` +- Routes clés : + - `POST /rpc/videoInfo {"json":{"url":"..."}}` → infos + liste des formats + - `POST /rpc/downloads/create {"json":{"url":"...","type":"video","title":"...","selectedFormat":{...}}}` → lance le DL + - `POST /rpc/downloads/list {"json":{}}` → téléchargements en cours + - `POST /rpc/history/list {"json":{}}` → historique (completed, etc.) +- Format pour `selectedFormat` : `{"formatId":"299","ext":"mp4","height":1080,"vcodec":"...","acodec":"none"}` +- Qualités dispo typiquement : 2160p, 1440p, 1080p, 720p… → choisir 1080p mp4 par défaut + ## Sites & Flux RSS - **Korben.info** : utiliser le flux RSS `https://korben.info/feed` pour récupérer les articles (plus propre que scraper la homepage)