mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-22 06:13:22 -07:00
Hoovering
This commit is contained in:
parent
925fcd12c7
commit
32f0e824da
3 changed files with 2 additions and 10 deletions
|
@ -51,7 +51,7 @@ namespace Ombi.Schedule.Jobs.Emby
|
||||||
var isPlayedSyncEnabled = await _feature.FeatureEnabled(FeatureNames.PlayedSync);
|
var isPlayedSyncEnabled = await _feature.FeatureEnabled(FeatureNames.PlayedSync);
|
||||||
if(isPlayedSyncEnabled)
|
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});
|
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> {
|
public clearMediaserverData(): Observable<boolean> {
|
||||||
return this.http.post<boolean>(`${this.url}clearmediaserverdata/`, {headers: this.headers});
|
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});
|
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> {
|
public runJellyfinCacher(): Observable<boolean> {
|
||||||
return this.http.post<boolean>(`${this.url}jellyfincontentcacher/`, {headers: this.headers});
|
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" } }));
|
await OmbiQuartz.Scheduler.TriggerJob(new JobKey(nameof(IEmbyContentSync), "Emby"), new JobDataMap(new Dictionary<string, string> { { JobDataKeys.EmbyRecentlyAddedSearch, "false" } }));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Runs a smaller version of the content cacher
|
/// Runs a smaller version of the content cacher
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue