mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Fixed the issue where the recently added scan was actually calling the RefreshMedia which ends up wiping out the Plex cache instead of refreshing the metadata... i'm a dumbass #3023
This commit is contained in:
parent
7a6e247314
commit
846d0f766f
2 changed files with 1 additions and 2 deletions
|
@ -53,7 +53,6 @@ namespace Ombi.Schedule.Jobs.Ombi
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const string episodeSQL = "DELETE FROM EmbyEpisode";
|
const string episodeSQL = "DELETE FROM EmbyEpisode";
|
||||||
const string mainSql = "DELETE FROM EmbyContent";
|
const string mainSql = "DELETE FROM EmbyContent";
|
||||||
await _embyRepo.ExecuteSql(episodeSQL);
|
await _embyRepo.ExecuteSql(episodeSQL);
|
||||||
|
|
|
@ -110,7 +110,7 @@ namespace Ombi.Schedule.Jobs.Plex
|
||||||
if ((processedContent?.HasProcessedContent ?? false) && recentlyAddedSearch)
|
if ((processedContent?.HasProcessedContent ?? false) && recentlyAddedSearch)
|
||||||
{
|
{
|
||||||
// Just check what we send it
|
// Just check what we send it
|
||||||
await OmbiQuartz.TriggerJob(nameof(IMediaDatabaseRefresh), "System");
|
await OmbiQuartz.TriggerJob(nameof(IRefreshMetadata), "System");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((processedContent?.HasProcessedContent ?? false) && recentlyAddedSearch)
|
if ((processedContent?.HasProcessedContent ?? false) && recentlyAddedSearch)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue