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(); }
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; }
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(); }