Ejemplo n.º 1
0
        static void Main()
        {
            //var x = new XmcdFileParser(@"C:\Users\Ayende\Downloads\freedb-complete-20130901.tar.bz2", new JsonFileDisksDestination());
            //x.Start();

            var x = new GzipFileParser("freedb.json.gzip", new VoronEntriesDestination());
            x.Start();

            //var sp = Stopwatch.StartNew();
            var freedbQueries = new FreeDbQueries("FreeDb");
            //Console.WriteLine(sp.Elapsed);
            //sp.Restart();
            //foreach (var disk in freedbQueries.FindByAlbumTitle("Vitalogy"))
            //{
            //    Console.WriteLine(disk.Artist + " " + disk.Title);
            //}
            //Console.WriteLine(sp.Elapsed);
        }
Ejemplo n.º 2
0
        static void Main()
        {
            //var x = new XmcdFileParser(@"C:\Users\Ayende\Downloads\freedb-complete-20130901.tar.bz2", new JsonFileDisksDestination());
            //x.Start();

            var x = new GzipFileParser("freedb.json.gzip", new VoronEntriesDestination());

            x.Start();

            //var sp = Stopwatch.StartNew();
            var freedbQueries = new FreeDbQueries("FreeDb");
            //Console.WriteLine(sp.Elapsed);
            //sp.Restart();
            //foreach (var disk in freedbQueries.FindByAlbumTitle("Vitalogy"))
            //{
            //    Console.WriteLine(disk.Artist + " " + disk.Title);
            //}
            //Console.WriteLine(sp.Elapsed);
        }