mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
Merge pull request #1183 from tidusjar/dev
Fixed an issue where we were not always showing movies from external …
This commit is contained in:
commit
bf35663c5f
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