mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Fixed an issue where we were not always showing movies from external programs
This commit is contained in:
parent
9542286806
commit
844938a92c
1 changed files with 4 additions and 4 deletions
|
@ -354,7 +354,7 @@ namespace Ombi.UI.Modules
|
||||||
viewMovie.Available = true;
|
viewMovie.Available = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (dbMovies.ContainsKey(movie.Id) && canSee) // compare to the requests db
|
if (dbMovies.ContainsKey(movie.Id) && canSee) // compare to the requests db
|
||||||
{
|
{
|
||||||
var dbm = dbMovies[movie.Id];
|
var dbm = dbMovies[movie.Id];
|
||||||
|
|
||||||
|
@ -362,17 +362,17 @@ namespace Ombi.UI.Modules
|
||||||
viewMovie.Approved = dbm.Approved;
|
viewMovie.Approved = dbm.Approved;
|
||||||
viewMovie.Available = dbm.Available;
|
viewMovie.Available = dbm.Available;
|
||||||
}
|
}
|
||||||
else if (cpCached.Contains(movie.Id) && canSee) // compare to the couchpotato db
|
if (cpCached.Contains(movie.Id) && canSee) // compare to the couchpotato db
|
||||||
{
|
{
|
||||||
viewMovie.Approved = true;
|
viewMovie.Approved = true;
|
||||||
viewMovie.Requested = true;
|
viewMovie.Requested = true;
|
||||||
}
|
}
|
||||||
else if (watcherCached.Contains(viewMovie.ImdbId) && canSee) // compare to the watcher db
|
if (watcherCached.Contains(viewMovie.ImdbId) && canSee) // compare to the watcher db
|
||||||
{
|
{
|
||||||
viewMovie.Approved = true;
|
viewMovie.Approved = true;
|
||||||
viewMovie.Requested = true;
|
viewMovie.Requested = true;
|
||||||
}
|
}
|
||||||
else if (radarrCached.Contains(movie.Id) && canSee)
|
if (radarrCached.Contains(movie.Id) && canSee)
|
||||||
{
|
{
|
||||||
viewMovie.Approved = true;
|
viewMovie.Approved = true;
|
||||||
viewMovie.Requested = true;
|
viewMovie.Requested = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue