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.

Potential fix for

pull/1741/head
tidusjar 8 years ago
parent 5dc7160c5d
commit 9a8bd096b5

@ -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.FirstOrDefaultAsync(
var foundEp = seriesEpisodes.FirstOrDefault(
x => x.EpisodeNumber == episode.EpisodeNumber &&
x.SeasonNumber == episode.Season.SeasonNumber);

Loading…
Cancel
Save