mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
Merge branch 'feature/v4' of https://github.com/tidusjar/ombi into feature/v4
This commit is contained in:
commit
9991fbd71c
1 changed files with 2 additions and 2 deletions
|
@ -145,7 +145,7 @@ namespace Ombi.Schedule.Jobs.Ombi
|
|||
private async Task StartEmbyTv()
|
||||
{
|
||||
var allTv = await _embyRepo.GetAll().Where(x =>
|
||||
x.Type == EmbyMediaType.Series && (!x.TheMovieDbId.HasValue() || !x.ImdbId.HasValue() || !x.TvDbId.HasValue())).ToListAsync();
|
||||
x.Type == EmbyMediaType.Series && (x.TheMovieDbId == null || x.ImdbId == null || x.TvDbId == null)).ToListAsync();
|
||||
|
||||
foreach (var show in allTv)
|
||||
{
|
||||
|
@ -210,7 +210,7 @@ namespace Ombi.Schedule.Jobs.Ombi
|
|||
private async Task StartEmbyMovies(EmbySettings settings)
|
||||
{
|
||||
var allMovies = await _embyRepo.GetAll().Where(x =>
|
||||
x.Type == EmbyMediaType.Movie && (!x.TheMovieDbId.HasValue() || !x.ImdbId.HasValue())).ToListAsync();
|
||||
x.Type == EmbyMediaType.Movie && (x.TheMovieDbId == null || x.ImdbId == null)).ToListAsync();
|
||||
foreach (var movie in allMovies)
|
||||
{
|
||||
movie.ImdbId.HasValue();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue