Hoovering

This commit is contained in:
sephrat 2023-03-10 19:03:40 +01:00
commit 32f0e824da
3 changed files with 2 additions and 10 deletions

View file

@ -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() } }));
}
}

View file

@ -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});
}