Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Ombi/commit/9a8bd096b5ac5087e680b3c7ae8b7da58b7ca06c
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
5 additions and
5 deletions
@ -63,7 +63,7 @@ namespace Ombi.Schedule.Jobs.Emby
private async Task ProcessMovies ( )
{
var movies = _movieRepo . GetAll ( ) . Where ( x = > ! x . Available ) ;
var movies = await _movieRepo . GetAll ( ) . Where ( x = > ! x . Available ) . ToListAsync ( ) ;
foreach ( var movie in movies )
{
@ -98,18 +98,18 @@ namespace Ombi.Schedule.Jobs.Emby
/// <returns></returns>
private async Task ProcessTv ( )
{
var tv = _tvRepo . GetChild ( ) . Where ( x = > ! x . Available ) ;
var embyEpisodes = _repo . GetAllEpisodes ( ) . Include ( x = > x . Series ) ;
var tv = await _tvRepo . GetChild ( ) . Where ( x = > ! x . Available ) . ToListAsync ( ) ;
var embyEpisodes = await _repo . GetAllEpisodes ( ) . Include ( x = > x . Series ) . ToListAsync ( ) ;
foreach ( var child in tv )
{
var tvDbId = child . ParentRequest . TvDbId ;
var seriesEpisodes = embyEpisodes . Where ( x = > x . Series . ProviderId = = tvDbId . ToString ( ) ) ;
var seriesEpisodes = embyEpisodes . Where ( x = > x . Series . ProviderId = = tvDbId . ToString ( ) ) .ToList ( ) ;
foreach ( var season in child . SeasonRequests )
{
foreach ( var episode in season . Episodes )
{
var foundEp = await seriesEpisodes . FirstOrDefault Async (
var foundEp = seriesEpisodes . FirstOrDefault (
x = > x . EpisodeNumber = = episode . EpisodeNumber & &
x . SeasonNumber = = episode . Season . SeasonNumber ) ;