using System.Collections.Generic;
using MediaBrowser.Model.Plugins;
namespace Jellyfin.Plugin.MovieNight.Configuration;
///
/// MovieNight plugin settings persisted by Jellyfin.
///
public class PluginConfiguration : BasePluginConfiguration
{
///
/// Gets or sets a value indicating whether integration calls are enabled.
///
public bool Enabled { get; set; }
///
/// Gets or sets the MovieNight backend base URL.
///
public string BackendBaseUrl { get; set; } = string.Empty;
///
/// Gets or sets the backend plugin token.
///
public string ApiToken { get; set; } = string.Empty;
///
/// Gets or sets the periodic sync interval in minutes.
///
public int SyncIntervalMinutes { get; set; } = 30;
///
/// Gets or sets a value indicating whether playback stop events are pushed to MovieNight.
///
public bool EnablePlaybackEvents { get; set; } = true;
///
/// Gets or sets a value indicating whether periodic backend sync is enabled.
///
public bool EnablePeriodicSync { get; set; } = true;
///
/// Gets or sets enabled Jellyfin library ids. Empty means all libraries.
///
public List EnabledLibraryIds { get; set; } = new();
///
/// Gets or sets the path where .strm files will be created.
///
public string StrmOutputPath { get; set; } = string.Empty;
}