mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
fixed a bunch of things. added basic support for file scanning. logs are now avilable in the UI
This commit is contained in:
parent
c8a8fb4d62
commit
fa0af257ff
48 changed files with 914 additions and 208 deletions
|
@ -8,6 +8,8 @@ using Ninject;
|
|||
using Ninject.Web.Mvc;
|
||||
using NLog;
|
||||
using NzbDrone.Core;
|
||||
using NzbDrone.Core.Instrumentation;
|
||||
using SubSonic.Repository;
|
||||
|
||||
namespace NzbDrone.Web
|
||||
{
|
||||
|
@ -30,7 +32,8 @@ namespace NzbDrone.Web
|
|||
|
||||
protected override void OnApplicationStarted()
|
||||
{
|
||||
Instrumentation.Setup();
|
||||
LogConfiguration.Setup();
|
||||
Logger.Info("NZBDrone Starting up.");
|
||||
CentralDispatch.DedicateToHost();
|
||||
AreaRegistration.RegisterAllAreas();
|
||||
RegisterRoutes(RouteTable.Routes);
|
||||
|
@ -39,7 +42,10 @@ namespace NzbDrone.Web
|
|||
|
||||
protected override IKernel CreateKernel()
|
||||
{
|
||||
return CentralDispatch.NinjectKernel;
|
||||
var kernel = CentralDispatch.NinjectKernel;
|
||||
// kernel.Bind<IRepository>().ToConstant(kernel.Get<IRepository>("LogDb"));
|
||||
|
||||
return kernel;
|
||||
}
|
||||
|
||||
// ReSharper disable InconsistentNaming
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue