MediaMTX container TZ=America/New_York so recording filenames match the server clock
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -82,6 +82,7 @@ Source of truth: this repo, `techy/Media-Server-Setup` on the stack's own Gitea
|
||||
## Verified behaviours worth remembering
|
||||
- **Never scp generated configs** (`mediamtx.yml`, `copyparty.conf`, `Caddyfile`, `dump-users.txt`, `.env`): a template copy wiped all streamers once. They are gitignored now; `*.example.*` are reference only.
|
||||
- Caddy runs in a container: anything it serves from disk must be a mount (`/srv/live` was missing → 404).
|
||||
- MediaMTX stamps recording filenames in its container clock: without `TZ` it is UTC and the plugin reads names as Eastern (4 h off). `TZ=America/New_York` is set on the container.
|
||||
- MediaMTX 1.21 refuses to start without `webrtcAdditionalHosts` or `webrtcIPsFromInterfaces`; configure.py writes the public host in.
|
||||
- Jellyfin honours provider-supplied season numbers on a Shows library (day seasons appeared). Next check: Monday 04:10 ET should fold them into a week season.
|
||||
- A stream indexed by Jellyfin while still recording has no duration and skips to the next episode on seek — fixed by recording into `.live/` so nothing sees a file until it is finished and flat.
|
||||
|
||||
@@ -4,6 +4,7 @@ services:
|
||||
container_name: mediamtx
|
||||
user: "1000:1000" # recordings owned by the debian user, so the archive pull can delete them
|
||||
environment:
|
||||
TZ: America/New_York # recording filenames are stamped in the container's clock; must match the host
|
||||
LIVE_WEBHOOK_URL: ${LIVE_WEBHOOK_URL:-}
|
||||
LIVE_HOST: ${LIVE_HOST:-live.example.com}
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user