public PlayActivityService(IRoadieSettings configuration, IHttpEncoder httpEncoder, IHttpContext httpContext, IRoadieDbContext dbContext, ICacheManager cacheManager, ILogger <PlayActivityService> logger, IScrobbleHandler scrobbleHandler, IHubContext <PlayActivityHub> playActivityHub) : base(configuration, httpEncoder, dbContext, cacheManager, logger, httpContext) { PlayActivityHub = playActivityHub; ScrobblerHandler = scrobbleHandler; }
public ScrobblerIntegrationBase(IRoadieSettings configuration, ILogger logger, IRoadieDbContext dbContext, ICacheManager cacheManager, IHttpContext httpContext) { Logger = logger; Configuration = configuration; DbContext = dbContext; CacheManager = cacheManager; HttpContext = httpContext; }
public LastFmHelper(IRoadieSettings configuration, ICacheManager cacheManager, ILogger <LastFmHelper> logger, IRoadieDbContext dbContext, IHttpEncoder httpEncoder) : base(configuration, cacheManager, logger) { _apiKey = configuration.Integrations.ApiKeys.FirstOrDefault(x => x.ApiName == "LastFMApiKey") ?? new ApiKey(); DbContext = dbContext; HttpEncoder = httpEncoder; }
public StatisticsService(IRoadieSettings configuration, IHttpEncoder httpEncoder, IHttpContext httpContext, IRoadieDbContext context, ICacheManager cacheManager, ILogger <StatisticsService> logger) : base(configuration, httpEncoder, context, cacheManager, logger, httpContext) { }
public GenreService(IRoadieSettings configuration, IHttpEncoder httpEncoder, IHttpContext httpContext, IRoadieDbContext dbContext, ICacheManager cacheManager, ILogger <GenreService> logger) : base(configuration, httpEncoder, dbContext, cacheManager, logger, httpContext) { }
public LookupEngineBase(IRoadieSettings configuration, IHttpEncoder httpEncoder, IRoadieDbContext context, ICacheManager cacheManager, ILogger logger) { Configuration = configuration; HttpEncoder = httpEncoder; DbContext = context; CacheManager = cacheManager; Logger = logger; }
public ServiceBase(IRoadieSettings configuration, IHttpEncoder httpEncoder, IRoadieDbContext context, ICacheManager cacheManager, ILogger logger, IHttpContext httpContext) { _configuration = configuration; _httpEncoder = httpEncoder; _dbContext = context; _cacheManager = cacheManager; _logger = logger; _httpContext = httpContext; }
public FactoryBase(IRoadieSettings configuration, IRoadieDbContext context, ICacheManager cacheManager, ILogger logger, IHttpEncoder httpEncoder, IArtistLookupEngine artistLookupEngine, IReleaseLookupEngine releaseLookupEngine) { this.Configuration = configuration; this.DbContext = context; this.CacheManager = cacheManager; this.Logger = logger; this.HttpEncoder = httpEncoder; this.ArtistLookupEngine = artistLookupEngine; this.ReleaseLookupEngine = releaseLookupEngine; }
public BookmarkService(IRoadieSettings configuration, IHttpEncoder httpEncoder, IHttpContext httpContext, IRoadieDbContext context, ICacheManager cacheManager, IUserService userService, ILogger <BookmarkService> logger) : base(configuration, httpEncoder, context, cacheManager, logger, httpContext) { UserService = userService; }
public LabelService(IRoadieSettings configuration, IHttpEncoder httpEncoder, IHttpContext httpContext, IRoadieDbContext context, ICacheManager cacheManager, ILogger <LabelService> logger, IBookmarkService bookmarkService) : base(configuration, httpEncoder, context, cacheManager, logger, httpContext) { BookmarkService = bookmarkService; }
public ScrobbleHandler(IRoadieSettings configuration, ILogger logger, IRoadieDbContext dbContext, ICacheManager cacheManager, RoadieScrobbler roadieScrobbler) { Logger = logger; Configuration = configuration; DbContext = dbContext; var scrobblers = new List <IScrobblerIntegration> { roadieScrobbler }; Scrobblers = scrobblers; }
public ImageService(IRoadieSettings configuration, IHttpEncoder httpEncoder, IHttpContext httpContext, IRoadieDbContext context, ICacheManager cacheManager, ILogger <ImageService> logger, IDefaultNotFoundImages defaultNotFoundImages, IImageSearchManager imageSearchManager) : base(configuration, httpEncoder, context, cacheManager, logger, httpContext) { DefaultNotFoundImages = defaultNotFoundImages; ImageSearchManager = imageSearchManager; }
public DlnaService(IRoadieSettings configuration, IRoadieDbContext dbContext, ICacheManager cacheManager, ILogger logger, IImageService imageService, ITrackService trackService, IPlayActivityService playActivityService) { Configuration = configuration; DbContext = dbContext; CacheManager = cacheManager; Logger = logger; FriendlyName = configuration.Dlna.FriendlyName; ImageService = imageService; TrackService = trackService; PlayActivityService = playActivityService; RandomTrackLimit = 50; }
public UserService(IRoadieSettings configuration, IHttpEncoder httpEncoder, IHttpContext httpContext, IRoadieDbContext context, ICacheManager cacheManager, ILogger <ArtistService> logger, UserManager <Library.Identity.User> userManager, ILastFmHelper lastFmHelper ) : base(configuration, httpEncoder, context, cacheManager, logger, httpContext) { UserManager = userManager; LastFmHelper = lastFmHelper; }
public FileDirectoryProcessorService(IRoadieSettings configuration, IHttpEncoder httpEncoder, IHttpContext httpContext, IRoadieDbContext context, ICacheManager cacheManager, ILogger <FileDirectoryProcessorService> logger, IArtistLookupEngine artistLookupEngine, IFileProcessor fileProcessor, IReleaseLookupEngine releaseLookupEngine, IAudioMetaDataHelper audioMetaDataHelper, IReleaseService releaseService) : base(configuration, httpEncoder, context, cacheManager, logger, httpContext) { ArtistLookupEngine = artistLookupEngine; AudioMetaDataHelper = audioMetaDataHelper; ReleaseLookupEngine = releaseLookupEngine; ReleaseService = releaseService; FileProcessor = fileProcessor; }
public ScrobbleHandler(IRoadieSettings configuration, ILogger <ScrobbleHandler> logger, IRoadieDbContext dbContext, ICacheManager cacheManager, IHttpEncoder httpEncoder, IHttpContext httpContext, ILastFmHelper lastFmHelper, IRoadieScrobbler roadieScrobbler, ILastFMScrobbler lastFMScrobbler) { Logger = logger; Configuration = configuration; DbContext = dbContext; HttpEncoder = httpEncoder; HttpContext = httpContext; var scrobblers = new List <IScrobblerIntegration> { roadieScrobbler }; if (configuration.Integrations.LastFmProviderEnabled) { scrobblers.Add(lastFMScrobbler); } Scrobblers = scrobblers; }
public ReleaseLookupEngine(IRoadieSettings configuration, IHttpEncoder httpEncoder, IRoadieDbContext context, ICacheManager cacheManager, ILogger logger, IArtistLookupEngine aristLookupEngine, ILabelLookupEngine labelLookupEngine) : base(configuration, httpEncoder, context, cacheManager, logger) { this.ArtistLookupEngine = ArtistLookupEngine; this.LabelLookupEngine = labelLookupEngine; this.ITunesReleaseSearchEngine = new ITunesSearchEngine(this.Configuration, this.CacheManager, this.Logger); this.MusicBrainzReleaseSearchEngine = new musicbrainz.MusicBrainzProvider(this.Configuration, this.CacheManager, this.Logger); this.LastFmReleaseSearchEngine = new lastfm.LastFmHelper(this.Configuration, this.CacheManager, this.Logger); this.DiscogsReleaseSearchEngine = new discogs.DiscogsHelper(this.Configuration, this.CacheManager, this.Logger); this.SpotifyReleaseSearchEngine = new spotify.SpotifyHelper(this.Configuration, this.CacheManager, this.Logger); this.WikipediaReleaseSearchEngine = new wikipedia.WikipediaHelper(this.Configuration, this.CacheManager, this.Logger, this.HttpEncoder); }
public ArtistFactory(IRoadieSettings configuration, IHttpEncoder httpEncoder, IRoadieDbContext context, ICacheManager cacheManager, ILogger logger, IArtistLookupEngine artistLookupEngine, IReleaseFactory releaseFactory, IImageFactory imageFactory, IReleaseLookupEngine releaseLookupEngine, IAudioMetaDataHelper audioMetaDataHelper) : base(configuration, context, cacheManager, logger, httpEncoder, artistLookupEngine, releaseLookupEngine) { this.ReleaseFactory = releaseFactory; this.ImageFactory = imageFactory; this.AudioMetaDataHelper = audioMetaDataHelper; }
public PlayActivityService(IRoadieSettings configuration, IRoadieDbContext dbContext, ICacheManager cacheManager, ILogger logger, ScrobbleHandler scrobbleHandler) : base(configuration, null, dbContext, cacheManager, logger, null) { ScrobblerHandler = scrobbleHandler; }
public AudioMetaDataHelper(IRoadieSettings configuration, IHttpEncoder httpEncoder, IRoadieDbContext context, IMusicBrainzProvider musicBrainzHelper, ILastFmHelper lastFmHelper, ICacheManager cacheManager, ILogger logger, IArtistLookupEngine artistLookupEngine, IImageFactory imageFactory, IFileNameHelper filenameHelper, IID3TagsHelper id3TagsHelper) { this.Configuration = configuration; this.HttpEncoder = httpEncoder; this.CacheManager = cacheManager; this.Logger = logger; this.ImageFactory = ImageFactory; this.FileNameHelper = filenameHelper; this.ID3TagsHelper = id3TagsHelper; this.MusicBrainzProvider = musicBrainzHelper; this.LastFmHelper = lastFmHelper; this.ArtistLookupEngine = artistLookupEngine; this.DoParseFromFileName = configuration.Processing.DoParseFromFileName; this.DoParseFromDiscogsDBFindingTrackForArtist = configuration.Processing.DoParseFromDiscogsDBFindingTrackForArtist; this.DoParseFromDiscogsDB = configuration.Processing.DoParseFromDiscogsDB; this.DoParseFromMusicBrainz = configuration.Processing.DoParseFromMusicBrainz; this.DoParseFromLastFM = configuration.Processing.DoParseFromLastFM; }
public ImageService(IRoadieSettings configuration, IRoadieDbContext dbContext, ICacheManager cacheManager, ILogger logger, DefaultNotFoundImages defaultNotFoundImages) : base(configuration, null, dbContext, cacheManager, logger, null) { DefaultNotFoundImages = defaultNotFoundImages; }
public RoadieScrobbler(IRoadieSettings configuration, ILogger <RoadieScrobbler> logger, IRoadieDbContext dbContext, ICacheManager cacheManager, IHttpContext httpContext) : base(configuration, logger, dbContext, cacheManager, httpContext) { }
public LabelFactory(IRoadieSettings configuration, IHttpEncoder httpEncoder, IRoadieDbContext context, ICacheManager cacheManager, ILogger logger, IArtistLookupEngine artistLookupEngine, IReleaseLookupEngine releaseLookupEngine) : base(configuration, context, cacheManager, logger, httpEncoder, artistLookupEngine, releaseLookupEngine) { }
public FolderProcessor(IRoadieSettings configuration, IHttpEncoder httpEncoder, string destinationRoot, IRoadieDbContext context, ICacheManager cacheManager, ILogger logger, IArtistLookupEngine artistLookupEngine, IArtistFactory artistFactory, IReleaseFactory releaseFactory, IImageFactory imageFactory, IReleaseLookupEngine releaseLookupEngine, IAudioMetaDataHelper audioMetaDataHelper) : base(configuration, httpEncoder, destinationRoot, context, cacheManager, logger, artistLookupEngine, artistFactory, releaseFactory, imageFactory, releaseLookupEngine, audioMetaDataHelper) { SimpleContract.Requires <ArgumentNullException>(!string.IsNullOrEmpty(destinationRoot), "Invalid Destination Folder"); this._fileProcessor = new FileProcessor(configuration, httpEncoder, destinationRoot, context, cacheManager, logger, artistLookupEngine, artistFactory, releaseFactory, imageFactory, releaseLookupEngine, audioMetaDataHelper); }
public RoadieScrobbler(IRoadieSettings configuration, ILogger logger, IRoadieDbContext dbContext, ICacheManager cacheManager) : base(configuration, logger, dbContext, cacheManager, null) { }
public LastFMScrobbler(IRoadieSettings configuration, ILogger <LastFMScrobbler> logger, IRoadieDbContext dbContext, ICacheManager cacheManager, ILastFmHelper lastFmHelper, IHttpContext httpContext) : base(configuration, logger, dbContext, cacheManager, httpContext) { LastFmHelper = lastFmHelper; }
public FileProcessor(IRoadieSettings configuration, IHttpEncoder httpEncoder, string destinationRoot, IRoadieDbContext context, ICacheManager cacheManager, ILogger logger, IArtistLookupEngine artistLookupEngine, IArtistFactory artistFactory, IReleaseFactory releaseFactory, IImageFactory imageFactory, IReleaseLookupEngine releaseLookupEngine, IAudioMetaDataHelper audioMetaDataHelper) : base(configuration, httpEncoder, destinationRoot, context, cacheManager, logger, artistLookupEngine, artistFactory, releaseFactory, imageFactory, releaseLookupEngine, audioMetaDataHelper) { }
public ArtistLookupEngine(IRoadieSettings configuration, IHttpEncoder httpEncoder, IRoadieDbContext context, ICacheManager cacheManager, ILogger <ArtistLookupEngine> logger, musicbrainz.IMusicBrainzProvider musicBrainzProvider, lastfm.ILastFmHelper lastFmHelper, spotify.ISpotifyHelper spotifyHelper, wikipedia.IWikipediaHelper wikipediaHelper, discogs.IDiscogsHelper discogsHelper, IITunesSearchEngine iTunesSearchEngine) : base(configuration, httpEncoder, context, cacheManager, logger) { ITunesArtistSearchEngine = iTunesSearchEngine; MusicBrainzArtistSearchEngine = musicBrainzProvider; LastFmArtistSearchEngine = lastFmHelper; SpotifyArtistSearchEngine = spotifyHelper; WikipediaArtistSearchEngine = wikipediaHelper; DiscogsArtistSearchEngine = discogsHelper; }
public LabelLookupEngine(IRoadieSettings configuration, IHttpEncoder httpEncoder, IRoadieDbContext context, ICacheManager cacheManager, ILogger logger) : base(configuration, httpEncoder, context, cacheManager, logger) { this.DiscogsLabelSearchEngine = new discogs.DiscogsHelper(this.Configuration, this.CacheManager, this.Logger); }
public ProcessorBase(IRoadieSettings configuration, IHttpEncoder httpEncoder, string destinationRoot, IRoadieDbContext context, ICacheManager cacheManager, ILogger logger, IArtistLookupEngine artistLookupEngine, IArtistFactory artistFactory, IReleaseFactory releaseFactory, IImageFactory imageFactory, IReleaseLookupEngine releaseLookupEngine, IAudioMetaDataHelper audioMetaDataHelper) { this.Configuration = configuration; this.HttpEncoder = httpEncoder; this.DbContext = context; this.CacheManager = cacheManager; this.Logger = logger; this.DestinationRoot = destinationRoot; this.ArtistLookupEngine = artistLookupEngine; this.ReleaseLookupEngine = releaseLookupEngine; this.ArtistFactory = artistFactory; this.ReleaseFactory = releaseFactory; this.ImageFactory = imageFactory; this.AudioMetaDataHelper = audioMetaDataHelper; }