Beispiel #1
0
 public RequestController(IMovieRequestEngine engine, ITvRequestEngine tvRequestEngine, IVoteEngine vote,
                          ILogger <RequestController> log)
 {
     MovieRequestEngine = engine;
     TvRequestEngine    = tvRequestEngine;
     VoteEngine         = vote;
     Log = log;
 }
Beispiel #2
0
 public VoteEngine(IRepository <Votes> votes, IPrincipal user, OmbiUserManager um, IRuleEvaluator r, ISettingsService <VoteSettings> voteSettings,
                   IMusicRequestEngine musicRequestEngine, ITvRequestEngine tvRequestEngine, IMovieRequestEngine movieRequestEngine) : base(user, um, r)
 {
     _voteRepository     = votes;
     _voteSettings       = voteSettings;
     _movieRequestEngine = movieRequestEngine;
     _musicRequestEngine = musicRequestEngine;
     _tvRequestEngine    = tvRequestEngine;
 }
Beispiel #3
0
 public RequestsController(IMovieRequestEngine movieRequestEngine, ITvRequestEngine tvRequestEngine, IMusicRequestEngine musicRequestEngine,
                           IVoteEngine voteEngine, ILogger <RequestsController> logger)
 {
     _movieRequestEngine = movieRequestEngine;
     _tvRequestEngine    = tvRequestEngine;
     _musicRequestEngine = musicRequestEngine;
     _voteEngine         = voteEngine;
     _logger             = logger;
 }
Beispiel #4
0
 public RequestController(IMovieRequestEngine engine, ITvRequestEngine tvRequestEngine, IVoteEngine vote,
                          ILogger <RequestController> log, IRequestLimitService requestLimitService)
 {
     MovieRequestEngine = engine;
     TvRequestEngine    = tvRequestEngine;
     VoteEngine         = vote;
     Log = log;
     _requestLimitService = requestLimitService;
 }
Beispiel #5
0
 public IdentityController(OmbiUserManager user, IMapper mapper, RoleManager <IdentityRole> rm, IEmailProvider prov,
                           ISettingsService <EmailNotificationSettings> s,
                           ISettingsService <CustomizationSettings> c,
                           ISettingsService <OmbiSettings> ombiSettings,
                           IWelcomeEmail welcome,
                           IMovieRequestRepository m,
                           ITvRequestRepository t,
                           ILogger <IdentityController> l,
                           IPlexApi plexApi,
                           ISettingsService <PlexSettings> settings,
                           IRepository <RequestLog> requestLog,
                           IRepository <Issues> issues,
                           IRepository <IssueComments> issueComments,
                           IRepository <NotificationUserId> notificationRepository,
                           IRepository <RequestSubscription> subscriptionRepository,
                           ISettingsService <UserManagementSettings> umSettings,
                           IRepository <UserNotificationPreferences> notificationPreferences,
                           IRepository <UserQualityProfiles> userProfiles,
                           IMusicRequestRepository musicRepo,
                           IMovieRequestEngine movieRequestEngine,
                           ITvRequestEngine tvRequestEngine,
                           IMusicRequestEngine musicEngine,
                           IUserDeletionEngine deletionEngine,
                           IRequestLimitService requestLimitService,
                           ICacheService cacheService)
 {
     UserManager           = user;
     Mapper                = mapper;
     RoleManager           = rm;
     EmailProvider         = prov;
     EmailSettings         = s;
     CustomizationSettings = c;
     WelcomeEmail          = welcome;
     MovieRepo             = m;
     MusicRepo             = musicRepo;
     TvRepo                = t;
     _log                           = l;
     _plexApi                       = plexApi;
     _plexSettings                  = settings;
     _issuesRepository              = issues;
     _requestLogRepository          = requestLog;
     _issueCommentsRepository       = issueComments;
     OmbiSettings                   = ombiSettings;
     _requestSubscriptionRepository = subscriptionRepository;
     _notificationRepository        = notificationRepository;
     _userManagementSettings        = umSettings;
     TvRequestEngine                = tvRequestEngine;
     MovieRequestEngine             = movieRequestEngine;
     _userNotificationPreferences   = notificationPreferences;
     _userQualityProfiles           = userProfiles;
     MusicRequestEngine             = musicEngine;
     _deletionEngine                = deletionEngine;
     _requestLimitService           = requestLimitService;
     _cacheService                  = cacheService;
 }
Beispiel #6
0
 public MovieSearchEngineV2(IPrincipal identity, IRequestServiceMain service, IMovieDbApi movApi, IMapper mapper,
                            ILogger <MovieSearchEngineV2> logger, IRuleEvaluator r, OmbiUserManager um, ICacheService mem, ISettingsService <OmbiSettings> s, IRepository <RequestSubscription> sub,
                            ISettingsService <CustomizationSettings> customizationSettings, IMovieRequestEngine movieRequestEngine)
     : base(identity, service, r, um, mem, s, sub)
 {
     MovieApi = movApi;
     Mapper   = mapper;
     Logger   = logger;
     _customizationSettings = customizationSettings;
     _movieRequestEngine    = movieRequestEngine;
 }
Beispiel #7
0
 public PlexWatchlistImport(IPlexApi plexApi, ISettingsService <PlexSettings> settings, OmbiUserManager ombiUserManager,
                            IMovieRequestEngine movieRequestEngine, ITvRequestEngine tvRequestEngine, IHubContext <NotificationHub> hub,
                            ILogger <PlexWatchlistImport> logger, IExternalRepository <PlexWatchlistHistory> watchlistRepo)
 {
     _plexApi            = plexApi;
     _settings           = settings;
     _ombiUserManager    = ombiUserManager;
     _movieRequestEngine = movieRequestEngine;
     _tvRequestEngine    = tvRequestEngine;
     _hub           = hub;
     _logger        = logger;
     _watchlistRepo = watchlistRepo;
 }
Beispiel #8
0
 public RequestController(IMovieRequestEngine engine, ITvRequestEngine tvRequestEngine)
 {
     MovieRequestEngine = engine;
     TvRequestEngine    = tvRequestEngine;
 }