mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-02 16:52:04 +02: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:
@@ -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()
|
||||
|
Reference in New Issue
Block a user