# /etc/conf.d/kodi-standalone
#
# Environment variables for the kodi-gbm.service systemd unit.
# This file is sourced via EnvironmentFile= in the service file.
#
# Uncomment and adjust the variables below as needed.

# ── Kodi command-line options ────────────────────────────────────────
# These are appended to the kodi binary invocation via KODI_ARGS.
#
# Available options:
#   --windowing=<system>        Windowing backend (gbm, wayland, x11)
#   --audio-backend=<backend>   Audio backend (pulseaudio, pipewire, alsa, sndio)
#   --gl-interface=<interface>  GL interface – X11 only (glx, egl)
#   --logging=<target>          Additional log target (console)
#   --settings=<filename>       Load settings file after advancedsettings.xml
#                               (file must exist in special://xbmc/system/)
#   -fs / --fullscreen          Run in full screen mode
#   --standalone                Run without a window manager (set by kodi-standalone)
#   --portable / -p             Use install folder for configuration
#   --debug                     Enable debug logging
#
# Example: force GBM windowing with PipeWire audio and debug logging
#KODI_ARGS="--windowing=gbm --audio-backend=pipewire --debug"
KODI_ARGS=""

