Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/f339969258c777230e05b00ad02d1ee6682dbc76
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
16 additions and
5 deletions
@ -1,4 +1,6 @@
using System.Linq ;
using System ;
using System.Linq ;
using System.Linq.Expressions ;
using System.Threading.Tasks ;
using Microsoft.EntityFrameworkCore ;
using Ombi.Core.Models.Search ;
@ -59,10 +61,19 @@ namespace Ombi.Core.Rule.Rules.Search
{
EmbyEpisode epExists = null ;
epExists = await allEpisodes . FirstOrDefaultAsync ( x = >
x . EpisodeNumber = = episode . EpisodeNumber & & x . SeasonNumber = = season . SeasonNumber & &
x . Series . ProviderId = = item . ProviderId . ToString ( ) ) ;
if ( item . HasImdb )
{
epExists = await allEpisodes . FirstOrDefaultAsync ( e = > e . EpisodeNumber = = episode . EpisodeNumber & & e . SeasonNumber = = season . SeasonNumber
& & e . ImdbId = = item . ImdbId ) ;
} if ( item . HasTvDb )
{
epExists = await allEpisodes . FirstOrDefaultAsync ( e = > e . EpisodeNumber = = episode . EpisodeNumber & & e . SeasonNumber = = season . SeasonNumber
& & e . TvDbId = = item . TvDbId ) ;
} if ( item . HasTheMovieDb )
{
epExists = await allEpisodes . FirstOrDefaultAsync ( e = > e . EpisodeNumber = = episode . EpisodeNumber & & e . SeasonNumber = = season . SeasonNumber
& & e . TheMovieDbId = = item . TheMovieDbId ) ;
}
if ( epExists ! = null )
{