/// <summary> /// Initializes a new instance of the <see cref="TesterController" /> class. /// </summary> public TesterController(INotificationService service, IDiscordNotification notification, IEmailNotification emailN, IPushbulletNotification pushbullet, ISlackNotification slack, IPushoverNotification po, IMattermostNotification mm, IPlexApi plex, IEmbyApiFactory emby, IRadarrV3Api radarr, ISonarrApi sonarr, ILogger <TesterController> log, IEmailProvider provider, ICouchPotatoApi cpApi, ITelegramNotification telegram, ISickRageApi srApi, INewsletterJob newsletter, ILegacyMobileNotification mobileNotification, ILidarrApi lidarrApi, IGotifyNotification gotifyNotification, IWhatsAppApi whatsAppApi, OmbiUserManager um, IWebhookNotification webhookNotification, IJellyfinApi jellyfinApi) { Service = service; DiscordNotification = notification; EmailNotification = emailN; PushbulletNotification = pushbullet; SlackNotification = slack; PushoverNotification = po; MattermostNotification = mm; PlexApi = plex; RadarrApi = radarr; EmbyApi = emby; SonarrApi = sonarr; Log = log; EmailProvider = provider; CouchPotatoApi = cpApi; TelegramNotification = telegram; SickRageApi = srApi; Newsletter = newsletter; MobileNotification = mobileNotification; LidarrApi = lidarrApi; GotifyNotification = gotifyNotification; WhatsAppApi = whatsAppApi; UserManager = um; WebhookNotification = webhookNotification; _jellyfinApi = jellyfinApi; }
public RadarrSync(ISettingsService <RadarrSettings> radarr, IRadarrV3Api radarrApi, ILogger <RadarrSync> log, ExternalContext ctx) { RadarrSettings = radarr; RadarrApi = radarrApi; Logger = log; _ctx = ctx; RadarrSettings.ClearCache(); }
public RadarrController(IRadarrApi radarr, ISettingsService <RadarrSettings> settings, ICacheService mem, IRadarrV3Api radarrV3Api) { _radarrApi = radarr; _radarrSettings = settings; _cache = mem; _radarrV3Api = radarrV3Api; }
public RadarrSync(ISettingsService <RadarrSettings> radarr, ISettingsService <Radarr4KSettings> radarr4k, IRadarrV3Api radarrApi, ILogger <RadarrSync> log, ExternalContext ctx, IExternalRepository <RadarrCache> radarrRepo) { _radarrSettings = radarr; _radarr4kSettings = radarr4k; _api = radarrApi; _logger = log; _ctx = ctx; _radarrRepo = radarrRepo; _radarrSettings.ClearCache(); _radarr4kSettings.ClearCache(); }
public MovieSender(ISettingsService <RadarrSettings> radarrSettings, ISettingsService <Radarr4KSettings> radarr4kSettings, ILogger <MovieSender> log, ISettingsService <DogNzbSettings> dogSettings, IDogNzbApi dogApi, ISettingsService <CouchPotatoSettings> cpSettings, ICouchPotatoApi cpApi, IRepository <UserQualityProfiles> userProfiles, IRepository <RequestQueue> requestQueue, INotificationHelper notify, IRadarrV3Api radarrV3Api) { _radarrSettings = radarrSettings; _log = log; _dogNzbSettings = dogSettings; _dogNzbApi = dogApi; _couchPotatoSettings = cpSettings; _couchPotatoApi = cpApi; _userProfiles = userProfiles; _requestQueuRepository = requestQueue; _notificationHelper = notify; _radarrV3Api = radarrV3Api; _radarr4KSettings = radarr4kSettings; }