Add TA to JF sync task interval to plugin configuration

This commit is contained in:
DarkFighterLuke
2024-09-04 17:40:31 +02:00
parent b07ffb2a83
commit 6e76761994
3 changed files with 21 additions and 2 deletions
@@ -40,6 +40,7 @@ namespace Jellyfin.Plugin.TubeArchivistMetadata.Configuration
JFUsernameFrom = string.Empty;
TAJFSync = false;
_jfUsernamesTo = new HashSet<string>();
TAJFTaskInterval = 1;
}
/// <summary>
@@ -128,6 +129,12 @@ namespace Jellyfin.Plugin.TubeArchivistMetadata.Configuration
}
}
/// <summary>
/// Gets or sets the interval in seconds at which the TubeArchivist to Jellyfin playback progress synchronization task should run.
/// It requires Jellyfin server restart to take effect.
/// </summary>
public int TAJFTaskInterval { get; set; }
/// <summary>
/// Gets the playback progress owners Jellyfin usernames to synchronize data from TubeArchivist.
/// </summary>