Image mode only
| Time | Channel | Event | Item | Duration | User | Details |
|---|
| Service | Protocol | Port | Address | Direction |
|---|
| Current and next clip per channel. ?ch=2 returns only one channel. | |
| Active alarms and recent problems. ok is false as soon as an error is active. ?limit= sets the history (max. 500). |
playing | true while playout runs; otherwise current and next are null. |
current | The item on air. |
next | The next media clip; Wait, Comment and Goto are skipped. |
title · filename | Name and media path of the item. |
start_ms · end_ms | Start and end as epoch milliseconds (server time). |
position · remaining | Elapsed and remaining time in seconds. |
curl -u user:password /api/nowplaying
const r = await fetch("/api/nowplaying", {
headers: { Authorization: "Basic " + btoa("user:password") }
});
const data = await r.json();
const ch1 = data.channels.find(c => c.channel === 1);
console.log(ch1.current?.title, ch1.next?.title);
| Component | License |
|---|---|
| CasparCG Server | GPL-3.0 |
| FFmpeg / FFprobe | GPL-3.0+ · Build / Source |
| CodeMirror 6 | MIT |
| hls.js | Apache-2.0 |
| Python | PSF-2.0 |
| FastAPI / Starlette | MIT / BSD-3-Clause |
| Uvicorn | BSD-3-Clause |
| Pydantic | MIT |
| AsyncSSH | EPL-2.0 / GPL-2.0+ |
| cryptography | Apache-2.0 / BSD-3-Clause |
| pystray | LGPL-3.0 |
| Pillow | MIT-CMU (HPND) |
| PyInstaller | GPL-2.0 with bootloader exception |