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); }
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()); }
public void FindMp3Files() { var files = Mp3Linq.GetMp3InfoLimited(MusicFolder, 100); Assert.IsTrue(files.Any()); }
static void Main(string[] args) { var files = Mp3Linq.GetMp3InfoAll(@"C:\Users\adamo\OneDrive\Music").Take(100); Mp3Linq.ShowByYearArtistAlbum(files); }