31 lines
942 B
C#
31 lines
942 B
C#
using MediaBrowser.Model.Plugins;
|
|
|
|
namespace Jellyfin.Plugin.PersonalRecordings.Configuration;
|
|
|
|
/// <summary>
|
|
/// Plugin configuration.
|
|
/// </summary>
|
|
public class PluginConfiguration : BasePluginConfiguration
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether the plugin is enabled.
|
|
/// </summary>
|
|
public bool Enabled { get; set; } = true;
|
|
|
|
/// <summary>
|
|
/// Gets or sets the root folder for per-user recordings (e.g. /recordings).
|
|
/// Files are moved to {TargetRootPath}/{Username}/.
|
|
/// </summary>
|
|
public string TargetRootPath { get; set; } = "/recordings";
|
|
|
|
/// <summary>
|
|
/// Gets or sets the poll interval in seconds for completed recordings.
|
|
/// </summary>
|
|
public int PollIntervalSeconds { get; set; } = 60;
|
|
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether to only log moves without changing files.
|
|
/// </summary>
|
|
public bool DryRun { get; set; }
|
|
}
|