Exemplo n.º 1
0
        public static void InitRepository()
        {
            MusicsInfo.SetupMusics();
            string musicsDBPath = MusicsInfo.GetMusicPath();

            if (!Directory.Exists(musicsDBPath))
            {
                Directory.CreateDirectory(musicsDBPath);
            }
            Console.WriteLine("Directory created.");
        }
Exemplo n.º 2
0
        public static void InitRepository()
        {
            string musicsDBPath = @"C:\AllMusics";

            if (!Directory.Exists(musicsDBPath))
            {
                Directory.CreateDirectory(musicsDBPath);
            }
            Console.WriteLine("Directory created.");
            MusicsInfo.SetupMusics();
        }