Files
Video-Player-Node/config.yaml
T
2026-08-06 16:46:04 -05:00

29 lines
785 B
YAML

mqtt:
host: 10.40.0.2
port: 1883
username: null
password: null
client_id_prefix: "ytplayer"
topics:
cmd: "youtube/player/cmd"
status: "youtube/player/status"
# Optional Home Assistant discovery. The player MQTT interface is unchanged;
# disabling this only skips the nine retained discovery config publications.
homeassistant:
enabled: true
discovery_prefix: "homeassistant"
device_id: "ytplayer"
device_name: "YT Player"
player:
display: ":0"
xdg_runtime_dir: "/run/user/1000"
mpv_binary: "/usr/bin/mpv"
# MPV always targets this virtual PipeWire sink. Audio Router exclusively
# decides whether its monitor is connected to HDMI, analog, or neither.
audio_device: "pipewire/ytplayer_bus"
audio_client_name: "YTPlayer"
audio_channels: "stereo"