public UploadFileService(IRepository repository, IMediaFileService mediaFileService, IAccessControlService accessControlService, ICmsConfiguration configuration) { this.repository = repository; this.mediaFileService = mediaFileService; this.accessControlService = accessControlService; this.configuration = configuration; }
public FilesService(IRepository repository, IMediaFileService fileService, IMediaFileUrlResolver fileUrlResolver, IAccessControlService accessControlService) { this.repository = repository; this.fileService = fileService; this.fileUrlResolver = fileUrlResolver; this.accessControlService = accessControlService; }
public MediaFileTableCleanupService(IMediaFileService mediaFileService, IEpisodeService episodeService, Logger logger) { _mediaFileService = mediaFileService; _episodeService = episodeService; _logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="DefaultMediaImageService" /> class. /// </summary> /// <param name="mediaFileService">The media file service.</param> /// <param name="storageService">The storage service.</param> /// <param name="repository">The repository.</param> /// <param name="unitOfWork">The unit of work.</param> /// <param name="sessionFactoryProvider">The session factory provider.</param> public DefaultMediaImageService(IMediaFileService mediaFileService, IStorageService storageService, IRepository repository, ISessionFactoryProvider sessionFactoryProvider, IUnitOfWork unitOfWork) { this.mediaFileService = mediaFileService; this.sessionFactoryProvider = sessionFactoryProvider; this.storageService = storageService; this.repository = repository; this.unitOfWork = unitOfWork; }
public UpgradeMediaFileService(IRecycleBinProvider recycleBinProvider, IMediaFileService mediaFileService, IMoveEpisodeFiles episodeFileMover, IDiskProvider diskProvider, Logger logger) { _recycleBinProvider = recycleBinProvider; _mediaFileService = mediaFileService; _episodeFileMover = episodeFileMover; _diskProvider = diskProvider; _logger = logger; }
public ImportApprovedEpisodes(IUpgradeMediaFiles episodeFileUpgrader, IMediaFileService mediaFileService, IDiskProvider diskProvider, IEventAggregator eventAggregator, Logger logger) { _episodeFileUpgrader = episodeFileUpgrader; _mediaFileService = mediaFileService; _diskProvider = diskProvider; _eventAggregator = eventAggregator; _logger = logger; }
public ImportDecisionMaker(IEnumerable<IRejectWithReason> specifications, IParsingService parsingService, IMediaFileService mediaFileService, IDiskProvider diskProvider, Logger logger) { _specifications = specifications; _parsingService = parsingService; _mediaFileService = mediaFileService; _diskProvider = diskProvider; _logger = logger; }
/// <summary> /// Initializes a new instance of the <see cref="PhotosController"/> class. /// </summary> /// <param name="mediaRepository">The media repository.</param> /// <param name="tagRepository">The tag repository.</param> /// <param name="rotateService">The rotate service.</param> /// <param name="managePhotoService">The manage photo service.</param> /// <param name="mediaFileService">The media file service.</param> /// <param name="locationRepository">The location repository.</param> /// <param name="albumRepository">The album repository.</param> /// <param name="persistentCollectionService">The persistent collection service.</param> public PhotosController(IMediaRepository mediaRepository, ITagRepository tagRepository, IImageService rotateService, IManagePhotoFactory managePhotoService, IMediaFileService mediaFileService, ILocationRepository locationRepository, IAlbumRepository albumRepository, IPersistentCollectionService persistentCollectionService) : base(managePhotoService, persistentCollectionService) { _mediaRepository = mediaRepository; _albumRepository = albumRepository; _locationRepository = locationRepository; _mediaFileService = mediaFileService; _rotateService = rotateService; _tagRepository = tagRepository; }
public EBookTagService(IAuthorService authorService, IMediaFileService mediaFileService, IRootFolderService rootFolderService, IConfigService configService, ICalibreProxy calibre, Logger logger) { _authorService = authorService; _mediaFileService = mediaFileService; _rootFolderService = rootFolderService; _configService = configService; _calibre = calibre; _logger = logger; }
public AudioTagService(IConfigService configService, IMediaFileService mediaFileService, IDiskProvider diskProvider, IArtistService artistService, IMapCoversToLocal mediaCoverService, IEventAggregator eventAggregator, Logger logger) { _configService = configService; _mediaFileService = mediaFileService; _diskProvider = diskProvider; _artistService = artistService; _mediaCoverService = mediaCoverService; _eventAggregator = eventAggregator; _logger = logger; }
public ImportDecisionMaker(IEnumerable<IImportDecisionEngineSpecification> specifications, IParsingService parsingService, IMediaFileService mediaFileService, IDiskProvider diskProvider, IVideoFileInfoReader videoFileInfoReader, IDetectSample detectSample, Logger logger) { _specifications = specifications; _parsingService = parsingService; _mediaFileService = mediaFileService; _diskProvider = diskProvider; _videoFileInfoReader = videoFileInfoReader; _detectSample = detectSample; _logger = logger; }
public BookFileController(IBroadcastSignalRMessage signalRBroadcaster, IMediaFileService mediaFileService, IDeleteMediaFiles mediaFileDeletionService, IEBookTagService eBookTagService, IAuthorService authorService, IBookService bookService, IUpgradableSpecification upgradableSpecification) : base(signalRBroadcaster) { _mediaFileService = mediaFileService; _mediaFileDeletionService = mediaFileDeletionService; _eBookTagService = eBookTagService; _authorService = authorService; _bookService = bookService; _upgradableSpecification = upgradableSpecification; }
public UserController( IUserService userService, IIdentityService identityService, UserManager <ApplicationUser> userManager, ICommonService commonService, IMapper mapper, IMediaFileService mediaFileService ) { this._userService = userService; this._identityService = identityService; this._userManager = userManager; this._commonService = commonService; this._mapper = mapper; this._mediaFileService = mediaFileService; }
public UpgradeMediaFileService(IRecycleBinProvider recycleBinProvider, IMediaFileService mediaFileService, IMoveEpisodeFiles episodeFileMover, IMoveMovieFiles movieFileMover, IDiskProvider diskProvider, IRenameMovieFileService movieFileRenamer, Logger logger) { _recycleBinProvider = recycleBinProvider; _mediaFileService = mediaFileService; _episodeFileMover = episodeFileMover; _movieFileMover = movieFileMover; _diskProvider = diskProvider; _movieFileRenamer = movieFileRenamer; _logger = logger; }
public RenameBookFileService(IAuthorService authorService, IMediaFileService mediaFileService, IMoveBookFiles bookFileMover, IEventAggregator eventAggregator, IBuildFileNames filenameBuilder, IDiskProvider diskProvider, Logger logger) { _authorService = authorService; _mediaFileService = mediaFileService; _bookFileMover = bookFileMover; _eventAggregator = eventAggregator; _filenameBuilder = filenameBuilder; _diskProvider = diskProvider; _logger = logger; }
public RenameEpisodeFileService(ISeriesService seriesService, IMediaFileService mediaFileService, IMoveEpisodeFiles episodeFileMover, IEventAggregator eventAggregator, IEpisodeService episodeService, IBuildFileNames filenameBuilder, Logger logger) { _seriesService = seriesService; _mediaFileService = mediaFileService; _episodeFileMover = episodeFileMover; _eventAggregator = eventAggregator; _episodeService = episodeService; _filenameBuilder = filenameBuilder; _logger = logger; }
public ExtraService(IMediaFileService mediaFileService, IAlbumService albumService, ITrackService trackService, IDiskProvider diskProvider, IConfigService configService, List <IManageExtraFiles> extraFileManagers, Logger logger) { _mediaFileService = mediaFileService; _albumService = albumService; _trackService = trackService; _diskProvider = diskProvider; _configService = configService; _extraFileManagers = extraFileManagers.OrderBy(e => e.Order).ToList(); _logger = logger; }
public MediaFileDeletionService(IDiskProvider diskProvider, IRecycleBinProvider recycleBinProvider, IMediaFileService mediaFileService, ISeriesService seriesService, IConfigService configService, IEventAggregator eventAggregator, Logger logger) { _diskProvider = diskProvider; _recycleBinProvider = recycleBinProvider; _mediaFileService = mediaFileService; _seriesService = seriesService; _configService = configService; _eventAggregator = eventAggregator; _logger = logger; }
public MetadataProfileService(IMetadataProfileRepository profileRepository, IAuthorService authorService, IBookService bookService, IMediaFileService mediaFileService, IImportListFactory importListFactory, IRootFolderService rootFolderService, Logger logger) { _profileRepository = profileRepository; _authorService = authorService; _bookService = bookService; _mediaFileService = mediaFileService; _importListFactory = importListFactory; _rootFolderService = rootFolderService; _logger = logger; }
public ImportDecisionMaker(IEnumerable <IImportDecisionEngineSpecification> specifications, IParsingService parsingService, IMediaFileService mediaFileService, IDiskProvider diskProvider, IVideoFileInfoReader videoFileInfoReader, IDetectSample detectSample, Logger logger) { _specifications = specifications; _parsingService = parsingService; _mediaFileService = mediaFileService; _diskProvider = diskProvider; _videoFileInfoReader = videoFileInfoReader; _detectSample = detectSample; _logger = logger; }
public ImportApprovedMovie(IUpgradeMediaFiles movieFileUpgrader, IMediaFileService mediaFileService, IExtraService extraService, IDiskProvider diskProvider, IHistoryService historyService, IEventAggregator eventAggregator, Logger logger) { _movieFileUpgrader = movieFileUpgrader; _mediaFileService = mediaFileService; _extraService = extraService; _diskProvider = diskProvider; _historyService = historyService; _eventAggregator = eventAggregator; _logger = logger; }
public RenameMovieFileService(IMovieService movieService, IMediaFileService mediaFileService, IMoveMovieFiles movieFileMover, IEventAggregator eventAggregator, IBuildFileNames filenameBuilder, IDiskProvider diskProvider, Logger logger) { _movieService = movieService; _mediaFileService = mediaFileService; _movieFileMover = movieFileMover; _eventAggregator = eventAggregator; _filenameBuilder = filenameBuilder; _diskProvider = diskProvider; _logger = logger; }
public EpisodeFileModule(IBroadcastSignalRMessage signalRBroadcaster, IMediaFileService mediaFileService, IDeleteMediaFiles mediaFileDeletionService, ISeriesService seriesService, IUpgradableSpecification upgradableSpecification) : base(signalRBroadcaster) { _mediaFileService = mediaFileService; _mediaFileDeletionService = mediaFileDeletionService; _seriesService = seriesService; _upgradableSpecification = upgradableSpecification; GetResourceById = GetEpisodeFile; GetResourceAll = GetEpisodeFiles; UpdateResource = SetQuality; DeleteResource = DeleteEpisodeFile; }
/// <summary> /// Initializes a new instance of the <see cref="FileService" /> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="fileService">The file service.</param> /// <param name="fileUrlResolver">The file URL resolver.</param> /// <param name="unitOfWork">The unit of work.</param> /// <param name="tagService">The tag service.</param> /// <param name="mediaService">The media service.</param> /// <param name="accessControlService">The access control service.</param> public FileService( IRepository repository, IMediaFileService fileService, IMediaFileUrlResolver fileUrlResolver, IUnitOfWork unitOfWork, ITagService tagService, IMediaService mediaService, IAccessControlService accessControlService) { this.repository = repository; this.fileService = fileService; this.fileUrlResolver = fileUrlResolver; this.unitOfWork = unitOfWork; this.tagService = tagService; this.mediaService = mediaService; this.accessControlService = accessControlService; }
public MovieFileModule(IBroadcastSignalRMessage signalRBroadcaster, IMediaFileService mediaFileService, IRecycleBinProvider recycleBinProvider, IMovieService movieService, IQualityUpgradableSpecification qualityUpgradableSpecification, Logger logger) : base(signalRBroadcaster) { _mediaFileService = mediaFileService; _recycleBinProvider = recycleBinProvider; _movieService = movieService; _qualityUpgradableSpecification = qualityUpgradableSpecification; _logger = logger; GetResourceById = GetMovieFile; UpdateResource = SetQuality; DeleteResource = DeleteMovieFile; }
public MealCreateViewModel( INavigationService navigationService, IMealDataService mealDataService, AbstractValidator <Meal> mealValidator, IDialogService dialogService, IMediaFileService mediaFileService) { _meal = new Meal(); EnableAddButton = true; _navigationService = navigationService; _mealValidator = mealValidator; _mealDataService = mealDataService; _dialogService = dialogService; _mediaFileService = mediaFileService; SetViewTitle(); SetDefaultImage(); }
/// <summary> /// Initializes a new instance of the <see cref="FilesService"/> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="mediaFileService">The media file service.</param> /// <param name="fileUrlResolver">The file URL resolver.</param> /// <param name="accessControlService">The access control service.</param> /// <param name="fileService">The file service.</param> /// <param name="uploadFileService">The upload file service.</param> public FilesService( IRepository repository, IMediaFileService mediaFileService, IMediaFileUrlResolver fileUrlResolver, IAccessControlService accessControlService, IFileService fileService, IUploadFileService uploadFileService, ICategoryService categoryService) { this.repository = repository; this.mediaFileService = mediaFileService; this.fileUrlResolver = fileUrlResolver; this.accessControlService = accessControlService; this.fileService = fileService; this.categoryService = categoryService; Upload = uploadFileService; }
public EpisodeModule(IBroadcastSignalRMessage signalRBroadcaster, IMediaFileService mediaFileService, IRecycleBinProvider recycleBinProvider, ISeriesService seriesService, IQualityUpgradableSpecification qualityUpgradableSpecification, Logger logger) : base(signalRBroadcaster) { _mediaFileService = mediaFileService; _recycleBinProvider = recycleBinProvider; _seriesService = seriesService; _qualityUpgradableSpecification = qualityUpgradableSpecification; _logger = logger; GetResourceById = GetEpisodeFile; GetResourceAll = GetEpisodeFiles; UpdateResource = SetQuality; DeleteResource = DeleteEpisodeFile; }
public MediaFileDeletionService(IDiskProvider diskProvider, IRecycleBinProvider recycleBinProvider, IMediaFileService mediaFileService, IAuthorService authorService, IConfigService configService, IRootFolderService rootFolderService, ICalibreProxy calibre, Logger logger) { _diskProvider = diskProvider; _recycleBinProvider = recycleBinProvider; _mediaFileService = mediaFileService; _authorService = authorService; _configService = configService; _rootFolderService = rootFolderService; _calibre = calibre; _logger = logger; }
public CalibreProxy(IHttpClient httpClient, IMapCoversToLocal mediaCoverService, IRemotePathMappingService pathMapper, IRootFolderWatchingService rootFolderWatchingService, IMediaFileService mediaFileService, IConfigService configService, ICacheManager cacheManager, Logger logger) { _httpClient = httpClient; _mediaCoverService = mediaCoverService; _pathMapper = pathMapper; _rootFolderWatchingService = rootFolderWatchingService; _mediaFileService = mediaFileService; _configService = configService; _bookCache = cacheManager.GetCache <CalibreBook>(GetType()); _logger = logger; }
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; }
public UpgradeMediaFileService(IRecycleBinProvider recycleBinProvider, IMediaFileService mediaFileService, IMetadataTagService metadataTagService, IMoveBookFiles bookFileMover, IDiskProvider diskProvider, IRootFolderService rootFolderService, ICalibreProxy calibre, Logger logger) { _recycleBinProvider = recycleBinProvider; _mediaFileService = mediaFileService; _metadataTagService = metadataTagService; _bookFileMover = bookFileMover; _diskProvider = diskProvider; _rootFolderService = rootFolderService; _calibre = calibre; _logger = logger; }
public MealEditViewModel( INavigationService navigationService, IMealDataService mealDataService, AbstractValidator <Meal> mealValidator, IDialogService dialogService, IMediaFileService mediaFileService) { _navigationService = navigationService; _mealValidator = mealValidator; _mealDataService = mealDataService; _dialogService = dialogService; _mediaFileService = mediaFileService; MessagingCenter.Instance.Subscribe <MealDetailViewModel, Meal>(this, "sendMeal", (sender, meal) => { Meal = meal; CheckMealImage(Meal); }); }
public XbmcMetadata(IEventAggregator eventAggregator, IMapCoversToLocal mediaCoverService, IMediaFileService mediaFileService, IMetadataFileService metadataFileService, IDiskProvider diskProvider, IHttpProvider httpProvider, IEpisodeService episodeService, Logger logger) : base(diskProvider, httpProvider, logger) { _eventAggregator = eventAggregator; _mediaCoverService = mediaCoverService; _mediaFileService = mediaFileService; _metadataFileService = metadataFileService; _diskProvider = diskProvider; _httpProvider = httpProvider; _episodeService = episodeService; _logger = logger; }
public MetadataService(IMetadataFactory metadataFactory, IMetadataFileService metadataFileService, ICleanMetadataService cleanMetadataService, IMediaFileService mediaFileService, IEpisodeService episodeService, IDiskProvider diskProvider, IHttpProvider httpProvider, IEventAggregator eventAggregator, Logger logger) { _metadataFactory = metadataFactory; _metadataFileService = metadataFileService; _cleanMetadataService = cleanMetadataService; _mediaFileService = mediaFileService; _episodeService = episodeService; _diskProvider = diskProvider; _httpProvider = httpProvider; _eventAggregator = eventAggregator; _logger = logger; }
public ImportDecisionMaker(IEnumerable <IImportDecisionEngineSpecification <LocalBook> > trackSpecifications, IEnumerable <IImportDecisionEngineSpecification <LocalEdition> > bookSpecifications, IMediaFileService mediaFileService, IMetadataTagService metadataTagService, IAugmentingService augmentingService, IIdentificationService identificationService, IRootFolderService rootFolderService, IProfileService qualityProfileService, Logger logger) { _trackSpecifications = trackSpecifications; _bookSpecifications = bookSpecifications; _mediaFileService = mediaFileService; _metadataTagService = metadataTagService; _augmentingService = augmentingService; _identificationService = identificationService; _rootFolderService = rootFolderService; _qualityProfileService = qualityProfileService; _logger = logger; }
public RenameTrackFileService(IArtistService artistService, IAlbumService albumService, IMediaFileService mediaFileService, IMoveTrackFiles trackFileMover, IEventAggregator eventAggregator, ITrackService trackService, IBuildFileNames filenameBuilder, IDiskProvider diskProvider, Logger logger) { _artistService = artistService; _albumService = albumService; _mediaFileService = mediaFileService; _trackFileMover = trackFileMover; _eventAggregator = eventAggregator; _trackService = trackService; _filenameBuilder = filenameBuilder; _diskProvider = diskProvider; _logger = logger; }
public ImportDecisionMaker(IEnumerable <IImportDecisionEngineSpecification <LocalTrack> > trackSpecifications, IEnumerable <IImportDecisionEngineSpecification <LocalAlbumRelease> > albumSpecifications, IMediaFileService mediaFileService, IAudioTagService audioTagService, IAugmentingService augmentingService, IIdentificationService identificationService, IRootFolderService rootFolderService, IProfileService qualityProfileService, Logger logger) { _trackSpecifications = trackSpecifications; _albumSpecifications = albumSpecifications; _mediaFileService = mediaFileService; _audioTagService = audioTagService; _augmentingService = augmentingService; _identificationService = identificationService; _rootFolderService = rootFolderService; _qualityProfileService = qualityProfileService; _logger = logger; }
public DbMediaItemListViewModel(IEventAggregator eventAggregator, /*IMediaFilePathResolver filePathResolver,*/ IMediaFileImageResolver imageResolver, IMediaFileService mediaFileService, MediaFileItemManager mediaFileItemManager) { this.EventAggregator = eventAggregator; //this.FilePathResolver = filePathResolver; this.ImageResolver = imageResolver; this.MediaFileService = mediaFileService; _mediaItemCollection = new ObservableCollection <BindableMediaFileItem>(); _mediaFileItemManager = mediaFileItemManager; _deleteMediaItemCommand = new DelegateCommand(DeleteMediaItem, CanDeleteMediaItem); _editMediaItemCommand = new DelegateCommand <object>(EditMediaItem, CanEditMediaItem); //_saveMediaItemsCommand = new DelegateCommand(SaveMediaItems, CanSaveMediaItems); _searchCommand = new DelegateCommand <RequestPagingItemsEventArgs>(SearchMediaItems); _previewCommand = new DelegateCommand <IPlayableItem>(Preview); this.SearchOptions = new MediaItemSearchOptions(); }
public DefaultMediaImageVersionPathService(IMediaFileService mediaFileService) { this.mediaFileService = mediaFileService; }
public FileService(IRepository repository, IMediaFileService fileService, IMediaFileUrlResolver fileUrlResolver) { this.repository = repository; this.fileService = fileService; this.fileUrlResolver = fileUrlResolver; }
public UploadFileService(IRepository repository, IMediaFileService mediaFileService, IAccessControlService accessControlService) { this.repository = repository; this.mediaFileService = mediaFileService; this.accessControlService = accessControlService; }
public FilesService(IRepository repository, IMediaFileService fileService) { this.repository = repository; this.fileService = fileService; }