public void TestGettingAnUnknownDiscId()
        {
            var tagSource = new MusicBrainzTagSource(new MockMusicBrainzApi(), new MockCoverArtApi());

            var discTags = tagSource.GetTags(DummyData.UnknownCd.TableOfContents).ToList();

            Assert.That(discTags.Count, Is.EqualTo(1));
            AssertAlbum(discTags.First(), AlbumIdentification.GetEmpty(2));
        }
示例#2
0
 public LameArgumentBuilder(EncoderSettings settings)
 {
     _track         = settings.Track ?? AlbumIdentification.GetEmpty(1).Tracks.First();
     _mp3Settings   = settings.Mp3Settings ?? Mp3Settings.Default;
     _trackLocation = settings.Output.PrepareOutput(_track) ?? OutputLocationBuilder.Default.PrepareOutput(_track);
 }