Esempio n. 1
0
 /// <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, IRadarrApi 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;
 }
Esempio n. 2
0
 public JobSetup(IPlexContentSync plexContentSync, IRadarrSync radarrSync,
                 IOmbiAutomaticUpdater updater, IEmbyContentSync embySync, IPlexUserImporter userImporter,
                 IEmbyUserImporter embyUserImporter, ISonarrSync cache, ICouchPotatoSync cpCache,
                 ISettingsService <JobSettings> jobsettings, ISickRageSync srSync, IRefreshMetadata refresh,
                 INewsletterJob newsletter, IPlexRecentlyAddedSync recentlyAddedPlex, ILidarrArtistSync artist,
                 IIssuesPurge purge, IResendFailedRequests resender, IMediaDatabaseRefresh dbRefresh)
 {
     _plexContentSync       = plexContentSync;
     _radarrSync            = radarrSync;
     _updater               = updater;
     _embyContentSync       = embySync;
     _plexUserImporter      = userImporter;
     _embyUserImporter      = embyUserImporter;
     _sonarrSync            = cache;
     _cpCache               = cpCache;
     _jobSettings           = jobsettings;
     _srSync                = srSync;
     _refreshMetadata       = refresh;
     _newsletter            = newsletter;
     _plexRecentlyAddedSync = recentlyAddedPlex;
     _lidarrArtistSync      = artist;
     _issuesPurge           = purge;
     _resender              = resender;
     _mediaDatabaseRefresh  = dbRefresh;
 }
Esempio n. 3
0
 /// <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, IEmbyApi emby, IRadarrApi radarr, ISonarrApi sonarr, ILogger <TesterController> log, IEmailProvider provider,
                         ICouchPotatoApi cpApi, ITelegramNotification telegram, ISickRageApi srApi, INewsletterJob newsletter, IMobileNotification mobileNotification,
                         ILidarrApi lidarrApi, IGotifyNotification gotifyNotification)
 {
     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;
 }
Esempio n. 4
0
 public JobController(IOmbiAutomaticUpdater updater, IPlexUserImporter userImporter,
                      ICacheService mem, IEmbyUserImporter embyImporter, IPlexContentSync plexContentSync,
                      IEmbyContentSync embyContentSync, INewsletterJob newsletter)
 {
     _updater          = updater;
     _plexUserImporter = userImporter;
     _embyUserImporter = embyImporter;
     _memCache         = mem;
     _plexContentSync  = plexContentSync;
     _embyContentSync  = embyContentSync;
     _newsletterJob    = newsletter;
 }
Esempio n. 5
0
 public JobSetup(IPlexContentSync plexContentSync, IRadarrSync radarrSync,
                 IOmbiAutomaticUpdater updater, IEmbyContentSync embySync, IPlexUserImporter userImporter,
                 IEmbyUserImporter embyUserImporter, ISonarrSync cache, ICouchPotatoSync cpCache,
                 ISettingsService <JobSettings> jobsettings, ISickRageSync srSync, IRefreshMetadata refresh,
                 INewsletterJob newsletter)
 {
     _plexContentSync  = plexContentSync;
     _radarrSync       = radarrSync;
     _updater          = updater;
     _embyContentSync  = embySync;
     _plexUserImporter = userImporter;
     _embyUserImporter = embyUserImporter;
     _sonarrSync       = cache;
     _cpCache          = cpCache;
     _jobSettings      = jobsettings;
     _srSync           = srSync;
     _refreshMetadata  = refresh;
     _newsletter       = newsletter;
 }