public SystemModule(IAppFolderInfo appFolderInfo, IRuntimeInfo runtimeInfo, IRouteCacheProvider routeCacheProvider, IConfigFileProvider configFileProvider, IMainDatabase database, ILifecycleService lifecycleService) : base("system") { _appFolderInfo = appFolderInfo; _runtimeInfo = runtimeInfo; _routeCacheProvider = routeCacheProvider; _configFileProvider = configFileProvider; _database = database; _lifecycleService = lifecycleService; Get["/status"] = x => GetStatus(); Get["/routes"] = x => GetRoutes(); Post["/shutdown"] = x => Shutdown(); Post["/restart"] = x => Restart(); }
public DownloadHistoryRepository(IMainDatabase database, IEventAggregator eventAggregator) : base(database, eventAggregator) { }
public CleanupOrphanedPendingReleases(IMainDatabase database) { _database = database; }
public UserRepository(IMainDatabase database, IEventAggregator eventAggregator) : base(database, eventAggregator) { }
public CleanupDuplicateMetadataFiles(IMainDatabase database) { _database = database; }
public CleanupUnusedTags(IMainDatabase database) { _database = database; }
public CleanupOrphanedHistoryItems(IMainDatabase database) { _database = database; }
public SeriesStatisticsRepository(IMainDatabase database) { _database = database; }
public CleanupOrphanedEditions(IMainDatabase database) { _database = database; }
public SeriesBookLinkRepository(IMainDatabase database, IEventAggregator eventAggregator) : base(database, eventAggregator) { }
public IndexerStatusRepository(IMainDatabase database, IEventAggregator eventAggregator) : base(database, eventAggregator) { }
public StatisticCommand(IMainDatabase db, IConsoleWriter consoleWriter) { _db = db; _consoleWriter = consoleWriter; }
public AuthorStatisticsRepository(IMainDatabase database) { _database = database; }
public BlacklistRepository(IMainDatabase database, IEventAggregator eventAggregator) : base(database, eventAggregator) { }
public QualityProfileRepository(IMainDatabase database, IEventAggregator eventAggregator) : base(database, eventAggregator) { }
public CleanupAbsolutePathMetadataFiles(IMainDatabase database) { _database = database; }
public CleanupOrphanedTracks(IMainDatabase database) { _database = database; }
public FixFutureRunScheduledTasks(IMainDatabase database, Logger logger) { _database = database; _logger = logger; }
protected ProviderRepository(IMainDatabase database, IEventAggregator eventAggregator) : base(database, eventAggregator) { }
public CleanupAdditionalNamingSpecs(IMainDatabase database) { _database = database; }
public ImportExclusionsRepository(IMainDatabase database, IEventAggregator eventAggregator) : base(database, eventAggregator) { _database = database; }
public CleanupOrphanedEpisodeFiles(IMainDatabase database) { _database = database; }
public ArtistMetadataRepository(IMainDatabase database, IEventAggregator eventAggregator, Logger logger) : base(database, eventAggregator) { _logger = logger; }
public CleanupOrphanedBlacklist(IMainDatabase database) { _database = database; }
public CustomFormatRepository(IMainDatabase database, IEventAggregator eventAggregator) : base(database, eventAggregator) { }
public CleanupAdditionalUsers(IMainDatabase database) { _database = database; }
public CleanupDownloadClientUnavailablePendingReleases(IMainDatabase database) { _database = database; }
public MediaFileRepository(IMainDatabase database, IEventAggregator eventAggregator) : base(database, eventAggregator) { }
public CleanupOrphanedCredits(IMainDatabase database) { _database = database; }
public CommandRepository(IMainDatabase database, IEventAggregator eventAggregator) : base(database, eventAggregator) { _database = database; }
public PendingReleaseRepository(IMainDatabase database, IEventAggregator eventAggregator) : base(database, eventAggregator) { }
public CleanupOrphanedHistoryItems(IMainDatabase database) { _database = database; }
public CleanupAdditionalNamingSpecs(IMainDatabase database) { _database = database; }
public CleanupUnusedTags(IMainDatabase database) { _database = database; }
public CleanupOrphanedApplicationStatus(IMainDatabase database) { _database = database; }
public CleanupAdditionalUsers(IMainDatabase database) { _database = database; }
public CleanupOrphanedMetadataFiles(IMainDatabase database) { _database = database; }
public CleanupOrphanedEpisodeFiles(IMainDatabase database) { _database = database; }
public CleanupOrphanedIndexerStatus(IMainDatabase database) { _database = database; }
public CleanupOrphanedMetadataFiles(IMainDatabase database) { _database = database; }
public CleanupOrphanedBlacklist(IMainDatabase database) { _database = database; }
public CleanupDuplicateMetadataFiles(IMainDatabase database) { _database = database; }
public CleanupOrphanedIndexerStatus(IMainDatabase database) { _database = database; }