Esempio n. 1
0
        static void Main(string[] args)
        {
            LoopboxLib loopbox = new LoopboxLib();

            if (args.Length > 0 && new FileInfo(args[0]).Exists)
            {
                loopbox.Load(args[0]);
            }
            else
            {
                loopbox.Load("C:/rekordbox.xml");
            }
            Menu.Print(loopbox.ToString());
            Menu.PrintAttribute("Tracks in library", loopbox.GetTracksCount().ToString());
            Menu.PrintAttribute("Playlists in library", loopbox.GetAllPlaylistsCount().ToString());
            loopbox.CreateVirtualDevice("debugdevice");
            Console.ReadLine();
            loopbox.RemoveVirtualDevice("debugdevice");
        }