mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Fixed import new series being stuck in a loop if an update failed
Seperated IndexerProviderTest from ProviderTests Fixed some ToString() issues Refactored IndexerBase/IndexerProvider
This commit is contained in:
parent
474f17c5e6
commit
a6ad977114
18 changed files with 403 additions and 306 deletions
|
@ -53,12 +53,12 @@ namespace NzbDrone.Core
|
|||
private static void InitializeApp()
|
||||
{
|
||||
BindKernel();
|
||||
|
||||
|
||||
LogConfiguration.Setup();
|
||||
|
||||
|
||||
Migrations.Run();
|
||||
ForceMigration(_kernel.Get<IRepository>());
|
||||
|
||||
|
||||
SetupDefaultQualityProfiles(_kernel.Get<IRepository>()); //Setup the default QualityProfiles on start-up
|
||||
|
||||
BindIndexers();
|
||||
|
@ -110,8 +110,6 @@ 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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue