pull/4881/head
sephrat 1 year ago
parent 925fcd12c7
commit 32f0e824da

@ -51,7 +51,7 @@ namespace Ombi.Schedule.Jobs.Emby
var isPlayedSyncEnabled = await _feature.FeatureEnabled(FeatureNames.PlayedSync);
if(isPlayedSyncEnabled)
{
await OmbiQuartz.Scheduler.TriggerJob(new JobKey(nameof(IEmbyPlayedSync), "Emby"), new JobDataMap(new Dictionary<string, string> { { JobDataKeys.EmbyRecentlyAddedSearch, recentlyAdded.ToString() } }));
await OmbiQuartz.Scheduler.TriggerJob(new JobKey(nameof(IEmbyPlayedSync), "Emby"), new JobDataMap(new Dictionary<string, string> { { JobDataKeys.EmbyRecentlyAddedSearch, recentlyAdded.ToString() } }));
}
}

@ -51,10 +51,6 @@ export class JobService extends ServiceHelpers {
return this.http.post<boolean>(`${this.url}embyrecentlyadded/`, {headers: this.headers});
}
public runEmbyRecentlyPlayedCacher(): Observable<boolean> {
return this.http.post<boolean>(`${this.url}embyrecentlyplayed/`, {headers: this.headers});
}
public clearMediaserverData(): Observable<boolean> {
return this.http.post<boolean>(`${this.url}clearmediaserverdata/`, {headers: this.headers});
}
@ -63,10 +59,6 @@ export class JobService extends ServiceHelpers {
return this.http.post<boolean>(`${this.url}embycontentcacher/`, {headers: this.headers});
}
public runEmbyPlayedCacher(): Observable<boolean> {
return this.http.post<boolean>(`${this.url}embyplayedcacher/`, {headers: this.headers});
}
public runJellyfinCacher(): Observable<boolean> {
return this.http.post<boolean>(`${this.url}jellyfincontentcacher/`, {headers: this.headers});
}

@ -167,7 +167,7 @@ namespace Ombi.Controllers.V1
await OmbiQuartz.Scheduler.TriggerJob(new JobKey(nameof(IEmbyContentSync), "Emby"), new JobDataMap(new Dictionary<string, string> { { JobDataKeys.EmbyRecentlyAddedSearch, "false" } }));
return true;
}
/// <summary>
/// Runs a smaller version of the content cacher
/// </summary>

Loading…
Cancel
Save