mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 16:22:55 -07:00
Fixed #1663
This commit is contained in:
parent
a2750a7c20
commit
55550f1b30
3 changed files with 12 additions and 9 deletions
|
@ -159,15 +159,10 @@ namespace Ombi.Core.Engine
|
|||
viewMovie.ImdbId = showInfo.ImdbId;
|
||||
}
|
||||
|
||||
// So when we run the rule to check if it's available in Plex we need the ImdbId
|
||||
// But we only pass down the SearchViewModel that doesn't contain this
|
||||
// So set the ImdbId to viewMovie.Id and then set it back afterwards
|
||||
var oldId = viewMovie.Id;
|
||||
viewMovie.TheMovieDbId = viewMovie.TheMovieDbId;
|
||||
viewMovie.TheMovieDbId = viewMovie.Id.ToString();
|
||||
|
||||
await RunSearchRules(viewMovie);
|
||||
|
||||
viewMovie.Id = oldId;
|
||||
|
||||
return viewMovie;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue