mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 16:22:55 -07:00
Post merge build fixes
This commit is contained in:
parent
f817953ba3
commit
6ab8d52242
1 changed files with 3 additions and 3 deletions
|
@ -241,7 +241,7 @@ namespace Ombi.UI.Modules
|
||||||
private async Task<bool> AlreadyAvailable(int id, string title, string year)
|
private async Task<bool> AlreadyAvailable(int id, string title, string year)
|
||||||
{
|
{
|
||||||
await Task.Yield();
|
await Task.Yield();
|
||||||
return IsMovieInCache(id, String.Empty) || Checker.IsMovieAvailable(plexMovies(), title, year);
|
return IsMovieInCache(id, String.Empty) || PlexChecker.IsMovieAvailable(plexMovies(), title, year);
|
||||||
}
|
}
|
||||||
|
|
||||||
private IEnumerable<PlexContent> plexMovies()
|
private IEnumerable<PlexContent> plexMovies()
|
||||||
|
@ -249,7 +249,7 @@ namespace Ombi.UI.Modules
|
||||||
if(_plexMovies == null)
|
if(_plexMovies == null)
|
||||||
{
|
{
|
||||||
var content = PlexContentRepository.GetAll();
|
var content = PlexContentRepository.GetAll();
|
||||||
_plexMovies = Checker.GetPlexMovies(content);
|
_plexMovies = PlexChecker.GetPlexMovies(content);
|
||||||
}
|
}
|
||||||
|
|
||||||
return _plexMovies;
|
return _plexMovies;
|
||||||
|
@ -434,7 +434,7 @@ namespace Ombi.UI.Modules
|
||||||
}
|
}
|
||||||
else if (canSee)
|
else if (canSee)
|
||||||
{
|
{
|
||||||
bool exists = IsMovieInCache(movie, imdbId);
|
bool exists = IsMovieInCache(movie, viewMovie.ImdbId);
|
||||||
viewMovie.Approved = exists;
|
viewMovie.Approved = exists;
|
||||||
viewMovie.Requested = exists;
|
viewMovie.Requested = exists;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue