예제 #1
0
 public TagImport(IHorsifySettings horsifySettings)
 {
     _songTagger       = new SongTaggerId3();
     _songTaggerTagLib = new SongTaggerTagLib();
     _horsifyDataRepo  = new HorsifyDataSqliteRepo();
     _horsifySettings  = horsifySettings;
 }
예제 #2
0
 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));
 }
예제 #3
0
        public void GetMp3TagWithTagLib()
        {
            _songTagger = new SongTaggerTagLib();

            //var song = _songTagger.PopulateSongTag(Constants.SONGFILE);
        }
예제 #4
0
 public void GetMp3TagWithId3()
 {
     _songTagger = new SongTaggerId3();
     //_songTagger.PopulateSongTag(new Data.Mod Constants.SONGFILE);
     var songtagged = _songTagger.PopulateSongTag(Constants.BADIMPORTFILE);
 }