|
|
@ -93,10 +93,21 @@ namespace Ombi.Controllers.V1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Runs the Jellyfin User importer
|
|
|
|
/// Runs the Emby User importer
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <returns></returns>
|
|
|
|
/// <returns></returns>
|
|
|
|
[HttpPost("embyuserimporter")]
|
|
|
|
[HttpPost("embyuserimporter")]
|
|
|
|
|
|
|
|
public async Task<bool> EmbyUserImporter()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
await OmbiQuartz.TriggerJob(nameof(IEmbyUserImporter), "Emby");
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
/// Runs the Jellyfin User importer
|
|
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
|
|
[HttpPost("jellyfinuserimporter")]
|
|
|
|
public async Task<bool> JellyfinUserImporter()
|
|
|
|
public async Task<bool> JellyfinUserImporter()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
await OmbiQuartz.TriggerJob(nameof(IJellyfinUserImporter), "Jellyfin");
|
|
|
|
await OmbiQuartz.TriggerJob(nameof(IJellyfinUserImporter), "Jellyfin");
|
|
|
|