예제 #1
0
        static void Main(string[] args)
        {
            // important: replace path below with valid directory with .mp3 files on your computer
            var files = Mp3Linq.GetMp3InfoAll(@"C:\Users\adamo\OneDrive\Music").Take(100);

            Mp3Linq.ShowByYearArtistAlbum(files);
        }
예제 #2
0
        public void Find80sMusic()
        {
            var files = Mp3Linq.GetMp3InfoLimitedWhere(MusicFolder, mp3 =>
            {
                try
                {
                    return(mp3.Tag.Year >= 1980 && mp3.Tag.Year < 1990);
                }
                catch
                {
                    // ignore file -- it's probably missing a Tag for some reason
                    return(false);
                }
            }, 200).ToList();

            Assert.IsTrue(files.Any());
        }
예제 #3
0
        public void FindMp3Files()
        {
            var files = Mp3Linq.GetMp3InfoLimited(MusicFolder, 100);

            Assert.IsTrue(files.Any());
        }
예제 #4
0
        static void Main(string[] args)
        {
            var files = Mp3Linq.GetMp3InfoAll(@"C:\Users\adamo\OneDrive\Music").Take(100);

            Mp3Linq.ShowByYearArtistAlbum(files);
        }