mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Oh hai search!
This commit is contained in:
parent
ac2d33443b
commit
cbbb6e2b18
11 changed files with 96 additions and 14 deletions
|
@ -110,6 +110,9 @@ namespace NzbDrone.Core
|
|||
_kernel.Bind<IndexerBase>().To<NzbMatrix>().InSingletonScope();
|
||||
_kernel.Bind<IndexerBase>().To<NzbsRUs>().InSingletonScope();
|
||||
_kernel.Bind<IndexerBase>().To<Newzbin>().InSingletonScope();
|
||||
|
||||
var indexers = _kernel.GetAll<IndexerBase>();
|
||||
_kernel.Get<IndexerProvider>().InitializeIndexers(indexers.ToList());
|
||||
}
|
||||
|
||||
private static void BindJobs()
|
||||
|
@ -119,6 +122,7 @@ namespace NzbDrone.Core
|
|||
_kernel.Bind<IJob>().To<UpdateInfoJob>().InTransientScope();
|
||||
_kernel.Bind<IJob>().To<DiskScanJob>().InTransientScope();
|
||||
_kernel.Bind<IJob>().To<DeleteSeriesJob>().InTransientScope();
|
||||
_kernel.Bind<IJob>().To<EpisodeSearchJob>().InTransientScope();
|
||||
|
||||
_kernel.Get<JobProvider>().Initialize();
|
||||
_kernel.Get<WebTimer>().StartTimer(30);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue