Prevent Sleep Only When Streaming!!!
Re: Prevent Sleep Only When Streaming!!!
This feature is already implemented. See the UMS.conf
Currently only Windows and macOS are supported.
Code: Select all
# Prevent system idle sleep
# -------------------------
# If your UMS host has a power-saving mode, use this option to prevent the
# system from hibernating or sleeping. Currently only Windows and macOS are
# supported. There are three modes:
#
# - Never: UMS doesn't interfere with system idle sleep.
# - Playback: UMS prevents the system from going to sleep while playback from
# UMS is active.
# - Running: UMS prevents the system from going to sleep while UMS is running.
#
# Default: Playback
prevent_sleep =