public MediaController(IMediaService mediaService, ISiteSettingService siteSettingService , IMediaFileManager mediaFileManager) { _mediaFileManager = mediaFileManager; _mediaService = mediaService; _siteSettingService = siteSettingService; }
public MediaController(IMediaServices mediaServices, ISettingServices settingServices , IMediaFileManager mediaFileManager, ILocalizedResourceServices localizedResourceServices) { _mediaFileManager = mediaFileManager; _mediaServices = mediaServices; _settingServices = settingServices; _localizedResourceServices = localizedResourceServices; }
public MediaController(IMediaServices mediaServices, ISettingServices settingServices , IMediaFileManager mediaFileManager, ILocalizedResourceServices localizedResourceServices) { _mediaFileManager = mediaFileManager; _mediaServices = mediaServices; _settingServices = settingServices; _localizedResourceServices = localizedResourceServices; }
public MainViewModel(IConfiguration configuration, IMediaService mediaService, IMediaCollection collection, IFileService fileService, Func <IProgressNotifier> progresssNotifierFactory, IMediaFileManager mediaFileManager) { this.mediaFileManager = mediaFileManager; this._mediaService = mediaService; Collection = collection; Configuration = configuration; _fileService = fileService; _progresssNotifierFactory = progresssNotifierFactory; SelectAllCommand = new RelayCommand(ExecuteSelectAll); SelectNoneCommand = new RelayCommand(ExecuteSelectNone); ExecuteCommand = new RelayCommand(Execute, CanExecute); CancelCommand = new RelayCommand(ExecuteCancel, CanExecuteCancel); BrowseSourceCommand = new RelayCommand(ExecuteBrowseSourcePath); BrowseTargetCommand = new RelayCommand(ExecuteBrowseTargetPath); OpenDirectoryCommand = new RelayCommand <IMediaFile>(OnOpenFileDirectory); }
public MainWindow() { // Window initialization InitializeComponent(); // ffmpeg path configuration Unosquare.FFME.Library.FFmpegDirectory = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"ffmpeg"); // Instantiating karaoke controller MediaPlayer.Core.Player controller = new MediaPlayer.Core.Player(MediaControl); _player = controller; _configurator = controller; _fileManager = controller; Play(@"D:\Documentos\Proyectos\test.mp4"); var indexes = MediaPlayer.Core.Indexing.IndexManager.Instance.GetIndexes(); var files = MediaPlayer.Core.Files.FileManager.Instance.GetFiles(); files.ForEach(file => { DtMediaNavigator.Items.Add(new Row(_fileManager.GetIndex(file))); }); }
public PostApiController(IPostManager postManager, ILogger <PostApiController> logger, IMediaFileManager mediaManager) { _postManager = postManager; _mediaManager = mediaManager; _logger = logger; }
public MediaController(IMediaFileManager mediaFileManager, IMediaService mediaService) { _mediaFileManager = mediaFileManager; _mediaService = mediaService; }
public MediaApiController(IMediaFileManager fileManager) { _fileManager = fileManager; }
public FileHandlerApiController(IHostingEnvironment hostingEnv, IMediaFileManager fileManager) { _hostingEnv = hostingEnv; _fileManager = fileManager; }