// SPDX-License-Identifier: GPL-3.0-or-later
using MediaBrowser.Model.Plugins;
namespace Jellyfin.Plugin.LightsOffTimer.Configuration;
public class PluginConfiguration : BasePluginConfiguration
{
/// Home Assistant webhook, e.g. https://ha.example/api/webhook/secret-id.
public string WebhookUrl { get; set; } = string.Empty;
/// Minutes Home Assistant waits after playback stops before turning the lights off.
public int CooldownMinutes { get; set; } = 15;
/// Also start the lights-off countdown on every playback stop, not only when the sleep timer is on.
public bool CountdownOnEveryStop { get; set; }
/// Comma-separated minute presets shown in the player menu.
public string MinutePresets { get; set; } = "15,30,45,60,90";
}