Kapitel 13/Tutorial.md aktualisiert
This commit is contained in:
@@ -781,11 +781,11 @@ Diese 12 Nodes werden das gesamte Grundgerüst der gesamten Automation sein. Wie
|
||||
Das folgende Schaubild zeigt dir die konkrete Verkabelung
|
||||
|
||||
```bash
|
||||
--- **SSH – Check State** --- **Set – File Information** --- **Set – vods in Array** --- **Split Out – vods** ------
|
||||
---- **SSH – Check State** --- **Set – File Information** --- **Set – vods in Array** --- **Split Out – vods** ------
|
||||
| |
|
||||
**Cron – Alle 10 Min** ---- | **Select VODs to Download** --- **Einzeldurchlauf** --- **State Datei schreiben** --- **Down 'n' Up** --- **Finalize VOD** (Hier folgen später weitere Nodes, aber da der Einzeldurchlauf ein Loop ist wird der letzte Node mit Einzeldurchlauf verbunden)
|
||||
| |
|
||||
--- *Get Twitch VOD IDs* --- *Split Out* – *Twitch VOD* --------------------------------------------------
|
||||
---- *Get Twitch VOD IDs* --- *Split Out* – *Twitch VOD* --------------------------------------------------
|
||||
```
|
||||
|
||||
|
||||
@@ -802,8 +802,10 @@ Das folgende Schaubild zeigt dir die konkrete Verkabelung
|
||||
|
||||
### Schritt 4.1 – Analyse‑Skript anlegen
|
||||
|
||||
**Ort:** Terminal im **Clipper‑LXC** → als Benutzer **clipper**
|
||||
Öffne die Datei und füge den Inhalt ein:
|
||||
**Ort:** Terminal im **Clipper‑LXC** → als Benutzer **clipper**
|
||||
```bash
|
||||
nano /usr/local/bin/vod_analyze
|
||||
```
|
||||
|
||||
```bash
|
||||
#!/usr/bin/env bash
|
||||
@@ -887,14 +889,14 @@ Das folgende Schaubild zeigt dir die konkrete Verkabelung
|
||||
|
||||
echo "== Done $ID =="
|
||||
```
|
||||
|
||||
SSH Node – Analyze VOD
|
||||
Ort: n8n‑Weboberfläche
|
||||
Node-Name: SSH – Analyze VOD
|
||||
Node-Typ: SSH
|
||||
Credentials: SSH Clipper
|
||||
Working Dir: /srv/clipper
|
||||
Command (Expression): {{/srv/clipper/bin/vod-analyze ${$json.data.id}}}
|
||||
1. **SSH Node – Analyze VOD** (Node-Name: Analyze VOD)
|
||||
- Node-Typ: SSH
|
||||
- Credentials: SSH Clipper
|
||||
- Working Dir: /srv/clipper
|
||||
- Command (Expression):
|
||||
```bash
|
||||
{{/srv/clipper/bin/vod-analyze ${$json.data.id}}}
|
||||
```
|
||||
|
||||
### Ergebnis
|
||||
- Für jedes neue VOD wird automatisch ein eigener Log‑Ordner erstellt.
|
||||
|
||||
Reference in New Issue
Block a user