Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Radarr/src/commit/d5e5d6de29ca0a4913d446277cddda89cf8c13e6/NzbDrone.Core/Tv/SeasonRepository.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Radarr/NzbDrone.Core/Tv/SeasonRepository.cs

27 lines
706 B

using System.Collections.Generic;
using System.Linq;
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Messaging;
using NzbDrone.Core.Messaging.Events;
namespace NzbDrone.Core.Tv
{
public interface ISeasonRepository : IBasicRepository<Series>
{
List<Season> GetSeasonBySeries(int seriesId);
}
public class SeasonRepository : BasicRepository<Series>, ISeasonRepository
{
public SeasonRepository(IDatabase database, IEventAggregator eventAggregator)
: base(database, eventAggregator)
{
}
public List<Season> GetSeasonBySeries(int seriesId)
{
return Query.Single(s => s.Id == seriesId).Seasons;
}
}
}