Exemple #1
0
 public DemoMovieSearchEngine(IPrincipal identity, IRequestServiceMain service, IMovieDbApi movApi, IMapper mapper,
                              ILogger <MovieSearchEngine> logger, IRuleEvaluator r, OmbiUserManager um, ICacheService mem, ISettingsService <OmbiSettings> s,
                              IRepository <RequestSubscription> sub, IOptions <DemoLists> lists)
     : base(identity, service, movApi, mapper, logger, r, um, mem, s, sub)
 {
     _demoLists = lists.Value;
 }
Exemple #2
0
 protected BaseMediaEngine(IPrincipal identity, IRequestServiceMain requestService,
                           IRuleEvaluator rules, OmbiUserManager um, ICacheService cache, ISettingsService <OmbiSettings> ombiSettings) : base(identity, um, rules)
 {
     RequestService = requestService;
     Cache          = cache;
     OmbiSettings   = ombiSettings;
 }
Exemple #3
0
 public DemoTvSearchEngine(IPrincipal identity, IRequestServiceMain service, ITvMazeApi tvMaze, IMapper mapper,
                           ITraktApi trakt, IRuleEvaluator r, OmbiUserManager um, ICacheService memCache,
                           ISettingsService <OmbiSettings> s, IRepository <RequestSubscription> sub, IOptions <DemoLists> lists, IImageService imageService,
                           ISettingsService <CustomizationSettings> custom)
     : base(identity, service, tvMaze, mapper, trakt, r, um, custom, memCache, s, sub, imageService, null)
 {
     _demoLists = lists.Value;
 }
Exemple #4
0
 public MovieSearchEngine(IPrincipal identity, IRequestServiceMain service, IMovieDbApi movApi, IMapper mapper,
                          ILogger <MovieSearchEngine> logger, IRuleEvaluator r, OmbiUserManager um, ICacheService mem, ISettingsService <OmbiSettings> s, IRepository <RequestSubscription> sub)
     : base(identity, service, r, um, mem, s, sub)
 {
     MovieApi = movApi;
     Mapper   = mapper;
     Logger   = logger;
 }
Exemple #5
0
 protected BaseMediaEngine(IPrincipal identity, IRequestServiceMain requestService,
                           IRuleEvaluator rules, OmbiUserManager um, ICacheService cache, ISettingsService <OmbiSettings> ombiSettings, IRepository <RequestSubscription> sub) : base(identity, um, rules)
 {
     RequestService          = requestService;
     Cache                   = cache;
     OmbiSettings            = ombiSettings;
     _subscriptionRepository = sub;
 }
Exemple #6
0
 public DemoTvSearchEngine(IPrincipal identity, IRequestServiceMain service, ITvMazeApi tvMaze, IMapper mapper,
                           ISettingsService <PlexSettings> plexSettings, ISettingsService <EmbySettings> embySettings, IPlexContentRepository repo,
                           IEmbyContentRepository embyRepo, ITraktApi trakt, IRuleEvaluator r, OmbiUserManager um, ICacheService memCache,
                           ISettingsService <OmbiSettings> s, IRepository <RequestSubscription> sub, IOptions <DemoLists> lists)
     : base(identity, service, tvMaze, mapper, plexSettings, embySettings, repo, embyRepo, trakt, r, um, memCache, s, sub)
 {
     _demoLists = lists.Value;
 }
Exemple #7
0
 public MultiSearchEngine(ICurrentUser identity, IRequestServiceMain requestService, IRuleEvaluator rules,
                          OmbiUserManager um, ICacheService cache, ISettingsService <OmbiSettings> ombiSettings, IRepository <RequestSubscription> sub,
                          IMovieDbApi movieDbApi, ISettingsService <LidarrSettings> lidarrSettings, IMusicBrainzApi musicApi)
     : base(identity, requestService, rules, um, cache, ombiSettings, sub)
 {
     _movieDbApi     = movieDbApi;
     _lidarrSettings = lidarrSettings;
     _musicApi       = musicApi;
 }
 public MovieSearchEngine(IPrincipal identity, IRequestServiceMain service, IMovieDbApi movApi, IMapper mapper,
                          ILogger <MovieSearchEngine> logger, IRuleEvaluator r, OmbiUserManager um, ICacheService mem)
     : base(identity, service, r, um)
 {
     MovieApi = movApi;
     Mapper   = mapper;
     Logger   = logger;
     MemCache = mem;
 }
Exemple #9
0
 public MusicSearchEngine(IPrincipal identity, IRequestServiceMain service, ILidarrApi lidarrApi, IMapper mapper,
                          ILogger <MusicSearchEngine> logger, IRuleEvaluator r, OmbiUserManager um, ICacheService mem, ISettingsService <OmbiSettings> s, IRepository <RequestSubscription> sub,
                          ISettingsService <LidarrSettings> lidarrSettings)
     : base(identity, service, r, um, mem, s, sub)
 {
     _lidarrApi      = lidarrApi;
     _lidarrSettings = lidarrSettings;
     Mapper          = mapper;
     Logger          = logger;
 }
Exemple #10
0
 public TvRequestEngine(ITvMazeApi tvApi, IRequestServiceMain requestService, IPrincipal user,
                        INotificationHelper helper, IRuleEvaluator rule, OmbiUserManager manager,
                        ITvSender sender, IAuditRepository audit, IRepository <RequestLog> rl) : base(user, requestService, rule, manager)
 {
     TvApi = tvApi;
     NotificationHelper = helper;
     TvSender           = sender;
     Audit       = audit;
     _requestLog = rl;
 }
Exemple #11
0
 public MovieRequestEngine(IMovieDbApi movieApi, IRequestServiceMain requestService, IPrincipal user,
                           INotificationHelper helper, IRuleEvaluator r, IMovieSender sender, ILogger <MovieRequestEngine> log,
                           OmbiUserManager manager, IRepository <RequestLog> rl, ICacheService cache, ISettingsService <OmbiSettings> ombiSettings) : base(user, requestService, r, manager, cache, ombiSettings)
 {
     MovieApi           = movieApi;
     NotificationHelper = helper;
     Sender             = sender;
     Logger             = log;
     _requestLog        = rl;
 }
Exemple #12
0
 public MusicSearchEngineV2(IPrincipal identity, IRequestServiceMain requestService, IRuleEvaluator rules,
                            OmbiUserManager um, ICacheService cache, ISettingsService <OmbiSettings> ombiSettings,
                            IRepository <RequestSubscription> sub, IMusicBrainzApi musicBrainzApi, ISettingsService <LidarrSettings> lidarrSettings,
                            ILidarrApi lidarrApi)
     : base(identity, requestService, rules, um, cache, ombiSettings, sub)
 {
     _musicBrainzApi = musicBrainzApi;
     _lidarrSettings = lidarrSettings;
     _lidarrApi      = lidarrApi;
 }
Exemple #13
0
 public TvRequestEngine(ITvMazeApi tvApi, IMovieDbApi movApi, IRequestServiceMain requestService, IPrincipal user,
                        INotificationHelper helper, IRuleEvaluator rule, OmbiUserManager manager,
                        ITvSender sender, IRepository <RequestLog> rl, ISettingsService <OmbiSettings> settings, ICacheService cache,
                        IRepository <RequestSubscription> sub) : base(user, requestService, rule, manager, cache, settings, sub)
 {
     TvApi              = tvApi;
     MovieDbApi         = movApi;
     NotificationHelper = helper;
     TvSender           = sender;
     _requestLog        = rl;
 }
Exemple #14
0
 public TvSearchEngineV2(IPrincipal identity, IRequestServiceMain service, ITvMazeApi tvMaze, IMapper mapper,
                         ITraktApi trakt, IRuleEvaluator r, OmbiUserManager um, ICacheService memCache, ISettingsService <OmbiSettings> s,
                         IRepository <RequestSubscription> sub, IMovieDbApi movieApi, ISettingsService <CustomizationSettings> customization)
     : base(identity, service, r, um, memCache, s, sub)
 {
     _tvMaze        = tvMaze;
     _mapper        = mapper;
     _traktApi      = trakt;
     _movieApi      = movieApi;
     _customization = customization;
 }
Exemple #15
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, IHttpClientFactory httpClientFactory)
     : base(identity, service, r, um, mem, s, sub)
 {
     MovieApi = movApi;
     Mapper   = mapper;
     Logger   = logger;
     _customizationSettings = customizationSettings;
     _movieRequestEngine    = movieRequestEngine;
     _client = httpClientFactory.CreateClient();
 }
Exemple #16
0
 public TvSearchEngine(IPrincipal identity, IRequestServiceMain service, ITvMazeApi tvMaze, IMapper mapper,
                       ITraktApi trakt, IRuleEvaluator r, OmbiUserManager um, ISettingsService <CustomizationSettings> customizationSettings,
                       ICacheService memCache, ISettingsService <OmbiSettings> s, IRepository <RequestSubscription> sub, IImageService imageService,
                       IMovieDbApi theMovieDbApi)
     : base(identity, service, r, um, memCache, s, sub)
 {
     _imageService          = imageService;
     _theMovieDbApi         = theMovieDbApi;
     TvMazeApi              = tvMaze;
     Mapper                 = mapper;
     TraktApi               = trakt;
     _customizationSettings = customizationSettings;
 }
Exemple #17
0
 public TvSearchEngine(IPrincipal identity, IRequestServiceMain service, ITvMazeApi tvMaze, IMapper mapper, ISettingsService <PlexSettings> plexSettings,
                       ISettingsService <EmbySettings> embySettings, IPlexContentRepository repo, IEmbyContentRepository embyRepo, ITraktApi trakt, IRuleEvaluator r, OmbiUserManager um,
                       ICacheService memCache, ISettingsService <OmbiSettings> s, IRepository <RequestSubscription> sub)
     : base(identity, service, r, um, memCache, s, sub)
 {
     TvMazeApi       = tvMaze;
     Mapper          = mapper;
     PlexSettings    = plexSettings;
     EmbySettings    = embySettings;
     PlexContentRepo = repo;
     TraktApi        = trakt;
     EmbyContentRepo = embyRepo;
 }
Exemple #18
0
 public MusicRequestEngine(IRequestServiceMain requestService, IPrincipal user,
                           INotificationHelper helper, IRuleEvaluator r, ILogger <MusicRequestEngine> log,
                           OmbiUserManager manager, IRepository <RequestLog> rl, ICacheService cache,
                           ISettingsService <OmbiSettings> ombiSettings, IRepository <RequestSubscription> sub, ILidarrApi lidarr,
                           ISettingsService <LidarrSettings> lidarrSettings, IMusicSender sender)
     : base(user, requestService, r, manager, cache, ombiSettings, sub)
 {
     NotificationHelper = helper;
     _musicSender       = sender;
     Logger             = log;
     _requestLog        = rl;
     _lidarrApi         = lidarr;
     _lidarrSettings    = lidarrSettings;
 }
Exemple #19
0
 public MovieRequestEngine(IMovieDbApi movieApi, IRequestServiceMain requestService, ICurrentUser user,
                           INotificationHelper helper, IRuleEvaluator r, IMovieSender sender, ILogger <MovieRequestEngine> log,
                           OmbiUserManager manager, IRepository <RequestLog> rl, ICacheService cache,
                           ISettingsService <OmbiSettings> ombiSettings, IRepository <RequestSubscription> sub, IMediaCacheService mediaCacheService,
                           IFeatureService featureService)
     : base(user, requestService, r, manager, cache, ombiSettings, sub)
 {
     MovieApi           = movieApi;
     NotificationHelper = helper;
     Sender             = sender;
     Logger             = log;
     _requestLog        = rl;
     _mediaCacheService = mediaCacheService;
     _featureService    = featureService;
 }
Exemple #20
0
 protected BaseMediaEngine(IPrincipal identity, IRequestServiceMain requestService,
                           IRuleEvaluator rules, OmbiUserManager um) : base(identity, um, rules)
 {
     RequestService = requestService;
 }