public TagImport(IHorsifySettings horsifySettings) { _songTagger = new SongTaggerId3(); _songTaggerTagLib = new SongTaggerTagLib(); _horsifyDataRepo = new HorsifyDataSqliteRepo(); _horsifySettings = horsifySettings; }
public StorageRepository(IFileStorageOrganizer storageOrganizer, IFileStorage fileStorage, ISongTagger songTagger, IChecksumCalculator checksumCalculator) { this.storageOrganizer = storageOrganizer ?? throw new ArgumentNullException(nameof(storageOrganizer)); this.fileStorage = fileStorage ?? throw new ArgumentNullException(nameof(fileStorage)); this.songTagger = songTagger ?? throw new ArgumentNullException(nameof(songTagger)); this.checksumCalculator = checksumCalculator ?? throw new ArgumentNullException(nameof(checksumCalculator)); }
public void GetMp3TagWithTagLib() { _songTagger = new SongTaggerTagLib(); //var song = _songTagger.PopulateSongTag(Constants.SONGFILE); }
public void GetMp3TagWithId3() { _songTagger = new SongTaggerId3(); //_songTagger.PopulateSongTag(new Data.Mod Constants.SONGFILE); var songtagged = _songTagger.PopulateSongTag(Constants.BADIMPORTFILE); }