mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 16:22:55 -07:00
Rules changes and rework
This commit is contained in:
parent
d5ec429893
commit
9f4a8902f9
32 changed files with 2804 additions and 35 deletions
|
@ -135,6 +135,7 @@ namespace Ombi.Core.Engine
|
|||
Dictionary<int, MovieRequestModel> existingRequests, PlexSettings plexSettings, EmbySettings embySettings)
|
||||
{
|
||||
var showInfo = await MovieApi.GetMovieInformation(viewMovie.Id);
|
||||
viewMovie.Id = showInfo.Id; // TheMovieDbId
|
||||
if (plexSettings.Enable)
|
||||
{
|
||||
var item = await PlexContentRepo.Get(showInfo.ImdbId);
|
||||
|
@ -178,6 +179,8 @@ namespace Ombi.Core.Engine
|
|||
viewMovie.Available = requestedMovie.Available;
|
||||
}
|
||||
|
||||
RunSearchRules(viewMovie);
|
||||
|
||||
return viewMovie;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue