Configuration Reference - Will-Luck/iplayer-arr GitHub Wiki

Configuration Reference

iplayer-arr is configured through a combination of environment variables (set at container creation) and application settings (managed through the web UI).

Application Variables

These environment variables are set when creating the container and control core application behaviour.

Variable Default Description
CONFIG_DIR /config BoltDB and config storage directory
DOWNLOAD_DIR /downloads Download output directory
PORT 62001 HTTP server listen port

The API key is auto-generated on first run. You can view it on the Config page in the web UI. This key is required when configuring Sonarr's indexer and download client connections.

Application Settings (via UI)

These settings are managed through the web UI Config page and stored in BoltDB. They can be changed at any time without restarting the container.

Setting Default Options Description
Default Quality 720p 1080p, 720p, 540p, 396p Preferred video quality for downloads
Max Workers 10 1--20 Number of concurrent download workers
Auto Cleanup Off On / Off Removes folders with no .mp4 files every 5 minutes

Quality notes:

  • 1080p availability depends on the BBC stream. Many programmes are only available up to 720p. The downloader picks the closest available stream when the requested quality is not offered.
  • When the requested quality is unavailable, the downloader picks the closest available stream.

Container Variables (hotio base)

These variables are handled by the hotio base image and control file permissions and timezone inside the container.

Variable Default Description
PUID 1000 User ID for file permissions
PGID 1000 Group ID for file permissions
TZ Europe/London Container timezone
UMASK 002 File permission mask

Set PUID and PGID to match the user that owns your download and config directories on the host. You can find your user's IDs with:

id $(whoami)

Volumes

Container Path Purpose
/config BoltDB database and configuration storage
/downloads Download output directory (map to your media library)

Both volumes should be mapped when creating the container. /config is typically a named volume or bind mount for persistence. /downloads should point to wherever your media library expects completed downloads.

Related Pages

  • VPN Configuration -- WireGuard VPN setup, kill switch, and provider-specific variables
  • Installation -- Deployment examples for Docker CLI and Docker Compose