Beispiel #1
0
 public CalibreProxy(IHttpClient httpClient,
                     IMapCoversToLocal mediaCoverService,
                     IRemotePathMappingService pathMapper,
                     IRootFolderWatchingService rootFolderWatchingService,
                     ICacheManager cacheManager,
                     Logger logger)
 {
     _httpClient                = httpClient;
     _mediaCoverService         = mediaCoverService;
     _pathMapper                = pathMapper;
     _rootFolderWatchingService = rootFolderWatchingService;
     _bookCache = cacheManager.GetCache <CalibreBook>(GetType());
     _logger    = logger;
 }
Beispiel #2
0
 public MoveAuthorService(IAuthorService authorService,
                          IBuildFileNames filenameBuilder,
                          IDiskProvider diskProvider,
                          IRootFolderWatchingService rootFolderWatchingService,
                          IDiskTransferService diskTransferService,
                          IEventAggregator eventAggregator,
                          Logger logger)
 {
     _authorService             = authorService;
     _filenameBuilder           = filenameBuilder;
     _diskProvider              = diskProvider;
     _rootFolderWatchingService = rootFolderWatchingService;
     _diskTransferService       = diskTransferService;
     _eventAggregator           = eventAggregator;
     _logger = logger;
 }
Beispiel #3
0
 public AudioTagService(IConfigService configService,
                        IMediaFileService mediaFileService,
                        IDiskProvider diskProvider,
                        IRootFolderWatchingService rootFolderWatchingService,
                        IAuthorService authorService,
                        IMapCoversToLocal mediaCoverService,
                        IEventAggregator eventAggregator,
                        Logger logger)
 {
     _configService             = configService;
     _mediaFileService          = mediaFileService;
     _diskProvider              = diskProvider;
     _rootFolderWatchingService = rootFolderWatchingService;
     _authorService             = authorService;
     _mediaCoverService         = mediaCoverService;
     _eventAggregator           = eventAggregator;
     _logger = logger;
 }
Beispiel #4
0
 public UpgradeMediaFileService(IRecycleBinProvider recycleBinProvider,
                                IMediaFileService mediaFileService,
                                IAudioTagService audioTagService,
                                IMoveBookFiles bookFileMover,
                                IDiskProvider diskProvider,
                                IRootFolderService rootFolderService,
                                IRootFolderWatchingService rootFolderWatchingService,
                                ICalibreProxy calibre,
                                Logger logger)
 {
     _recycleBinProvider        = recycleBinProvider;
     _mediaFileService          = mediaFileService;
     _audioTagService           = audioTagService;
     _bookFileMover             = bookFileMover;
     _diskProvider              = diskProvider;
     _rootFolderService         = rootFolderService;
     _rootFolderWatchingService = rootFolderWatchingService;
     _calibre = calibre;
     _logger  = logger;
 }
 public BookFileMovingService(IEditionService editionService,
                              IUpdateBookFileService updateBookFileService,
                              IBuildFileNames buildFileNames,
                              IDiskTransferService diskTransferService,
                              IDiskProvider diskProvider,
                              IRootFolderWatchingService rootFolderWatchingService,
                              IMediaFileAttributeService mediaFileAttributeService,
                              IEventAggregator eventAggregator,
                              IConfigService configService,
                              Logger logger)
 {
     _editionService            = editionService;
     _updateBookFileService     = updateBookFileService;
     _buildFileNames            = buildFileNames;
     _diskTransferService       = diskTransferService;
     _diskProvider              = diskProvider;
     _rootFolderWatchingService = rootFolderWatchingService;
     _mediaFileAttributeService = mediaFileAttributeService;
     _eventAggregator           = eventAggregator;
     _configService             = configService;
     _logger = logger;
 }
 public TrackFileMovingService(ITrackService trackService,
                               IAlbumService albumService,
                               IUpdateTrackFileService updateTrackFileService,
                               IBuildFileNames buildFileNames,
                               IDiskTransferService diskTransferService,
                               IDiskProvider diskProvider,
                               IRootFolderWatchingService rootFolderWatchingService,
                               IMediaFileAttributeService mediaFileAttributeService,
                               IEventAggregator eventAggregator,
                               IConfigService configService,
                               Logger logger)
 {
     _trackService              = trackService;
     _albumService              = albumService;
     _updateTrackFileService    = updateTrackFileService;
     _buildFileNames            = buildFileNames;
     _diskTransferService       = diskTransferService;
     _diskProvider              = diskProvider;
     _rootFolderWatchingService = rootFolderWatchingService;
     _mediaFileAttributeService = mediaFileAttributeService;
     _eventAggregator           = eventAggregator;
     _configService             = configService;
     _logger = logger;
 }