예제 #1
0
 public PlexContentSync(ISettingsService <PlexSettings> plex, IPlexApi plexApi, ILogger <PlexContentSync> logger, IPlexContentRepository repo,
                        IPlexEpisodeSync epsiodeSync)
 {
     Plex        = plex;
     PlexApi     = plexApi;
     Logger      = logger;
     Repo        = repo;
     EpisodeSync = epsiodeSync;
     plex.ClearCache();
 }
예제 #2
0
 public PlexContentSync(ISettingsService <PlexSettings> plex, IPlexApi plexApi, ILogger <PlexContentSync> logger, IPlexContentRepository repo,
                        IPlexEpisodeSync epsiodeSync, IRefreshMetadata metadataRefresh, IPlexAvailabilityChecker checker)
 {
     Plex        = plex;
     PlexApi     = plexApi;
     Logger      = logger;
     Repo        = repo;
     EpisodeSync = epsiodeSync;
     Metadata    = metadataRefresh;
     Checker     = checker;
 }
예제 #3
0
 public PlexContentSync(ISettingsService <PlexSettings> plex, IPlexApi plexApi, ILogger <PlexContentSync> logger, IPlexContentRepository repo,
                        IPlexEpisodeSync epsiodeSync, IHubContext <NotificationHub> hub, IMovieDbApi movieDbApi)
 {
     Plex         = plex;
     PlexApi      = plexApi;
     Logger       = logger;
     Repo         = repo;
     EpisodeSync  = epsiodeSync;
     Notification = hub;
     _movieApi    = movieDbApi;
     Plex.ClearCache();
 }