An always-on machine
A NAS, mini PC, home server, 64-bit Raspberry Pi or a Mac that stays awake. The Docker image runs on Intel/AMD and ARM.
Turn an always-on Mac, NAS, or home server into your personal recording hub. Schedule recordings, save them to your own storage, and keep control of your library.
Recording is a Streamen Pro feature. It uses the free StreamenDVR server below, or a Dispatcharr server you already run.
A few basics are all you need to get started.
A NAS, mini PC, home server, 64-bit Raspberry Pi or a Mac that stays awake. The Docker image runs on Intel/AMD and ARM.
On a Mac with macOS 15 or later, the StreamenDVR app is all you need. Elsewhere: Docker, Docker Desktop or Apple's container tool. Most NAS systems have Docker built in.
Streams are saved as they arrive, without re-encoding. An HD channel usually takes a few gigabytes per hour.
The server and your devices should be on the same home network, so Streamen can find it and play recordings.
Choose how you want to run StreamenDVR. Recordings and settings are stored separately from the application so they can survive updates.
Save this file as docker-compose.yml inside a dedicated folder. Host networking can allow local discovery on supported Linux hosts.
services:
streamen-dvr:
image: streamen.app/streamen-dvr:latest
container_name: streamen-dvr
restart: unless-stopped
network_mode: host
volumes:
- ./data:/datadocker compose up -dOn Synology, QNAP, Unraid or TrueNAS you can paste the same file into the system's Docker or Container Manager as a new project.
Docker Desktop typically needs an explicit port mapping instead of Linux host networking.
services:
streamen-dvr:
image: streamen.app/streamen-dvr:latest
container_name: streamen-dvr
restart: unless-stopped
ports:
- "8090:8090"
volumes:
- ./data:/data
environment:
BONJOUR: "0"docker compose up -dDocker Desktop can't announce the server on your network, so you'll enter its address in Streamen manually. Make sure Docker Desktop starts at login.
On Apple silicon, Apple's container CLI is an alternative to Docker Desktop.
container system start
mkdir -p ~/StreamenDVR-data
container run -d --name streamen-dvr \
-p 0.0.0.0:8090:8090 \
-v ~/StreamenDVR-data:/data \
-e BONJOUR=0 streamen.app/streamen-dvr:latestThe container runs in a lightweight VM, so you'll enter your Mac's address in Streamen manually. Keep the Mac from sleeping while recordings are scheduled.
Download StreamenDVR, open the disk image, and drag StreamenDVR into the Applications folder. Then open it: a recording icon appears in the menu bar. ffmpeg is built in, so there’s nothing else to install.
Requires macOS 15 or later, on Apple silicon or Intel. The app opens at login, keeps the Mac awake while recordings are running or scheduled, and Streamen finds it automatically. Closing a MacBook lid still puts it to sleep.
The server shows a 6-digit pairing code and a new one every 10 minutes.
Click the StreamenDVR icon in the menu bar to see the current code.
Show the current code with:
docker exec streamen-dvr streamen-dvr pairOn a NAS, the code is also in the container's log view.
Show the current code with:
docker exec streamen-dvr streamen-dvr pairShow the current code with:
container exec streamen-dvr streamen-dvr pairIn Streamen, open Settings › Live TV › Recording Server.
Read Before You Pair and tap I Understand.
Choose your server under Servers on This Network. If it isn't listed, tap Enter Address Manually, type the server's IP address (for example 192.168.1.20) and tap Connect. Streamen uses port 8090 unless you add another.
Enter the Pairing Code from the server and tap Pair.
Pair once: the pairing syncs to your other Apple devices through iCloud.
Choose Record from a channel's menu or in the player.
Open a program in the Guide and choose Schedule Recording.
Open Recordings from the Live TV toolbar or Settings › Live TV. On Apple TV you can also show it in the Live TV sidebar.
For Docker, set these as environment entries in docker-compose.yml (or -e NAME=value with Apple's tool). The Mac app works without them.
| Variable | Default | Purpose |
|---|---|---|
SERVER_NAME | Hostname | Name shown to compatible clients |
PORT | 8090 | Listening port |
MAX_CONCURRENT | 4 | Maximum simultaneous recordings |
MIN_FREE_GB | 2 | Minimum available disk space |
BONJOUR | 1 | Set to 0 to disable local discovery |
TZ | UTC | Timezone for log timestamps |
Run docker compose up -d again after changing them.
Common things to check when recording doesn't go as planned.
Make sure Streamen may use your local network (on iPhone and iPad: Settings › Privacy & Security › Local Network). Automatic discovery works with the Mac app and with host networking on Linux. With Docker Desktop, Apple's tool, bridge networking or separate VLANs, tap Enter Address Manually and type the machine's IP address.
Two discovery services on one machine can interfere with each other. Set BONJOUR to 0 and add the server by address. If your NAS supports its own Bonjour announcement, configure that separately.
Codes change every 10 minutes, so fetch the current one. After five wrong codes, pairing is locked for a minute.
The server opens its own connection to your provider. If your plan allows only one connection at a time, watching and recording at once can fail. Raise your connection limit with your provider or avoid overlapping.
Free up disk space or lower MIN_FREE_GB, and raise MAX_CONCURRENT if your provider allows more connections.
Recordings that were running resume when it's back, with a short gap. Scheduled ones whose time passed while it was off are marked as failed.
Streamen can record with Dispatcharr's own DVR, so you don't need StreamenDVR as well. Open Settings › Live TV › Recording Server, choose Add Dispatcharr Server, and sign in with an API key or username and password. Recordings then use the channels your Dispatcharr server provides.
Mac app: download the new version and replace the old one in Applications. Docker: from the folder with docker-compose.yml, pull the new image and restart. Recordings and pairings are kept either way.
docker compose pull && docker compose up -d