Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/src/commit/4fe1d7e6f799c86dff846a41fb38d4b1cdc83132/NzbDrone.Services/NzbDrone.Services.Service/Providers/DailySeriesProvider.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Lidarr/NzbDrone.Services/NzbDrone.Services.Service/Providers/DailySeriesProvider.cs

34 lines
780 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NzbDrone.Services.Service.Repository;
using Services.PetaPoco;
namespace NzbDrone.Services.Service.Providers
{
public class DailySeriesProvider
{
private readonly IDatabase _database;
public DailySeriesProvider(IDatabase database)
{
_database = database;
}
public IList<DailySeries> All()
{
return _database.Fetch<DailySeries>();
}
public IList<int> AllSeriesIds()
{
return _database.Fetch<int>("SELECT Id from DailySeries");
}
public bool IsDaily(int seriesId)
{
return _database.Exists<DailySeries>(seriesId);
}
}
}