static void Main(string[] args)
        {
            var dbh = new dbclases.Dbhandel();

            dbh.FillIP("212.212.224.124");

            List<string>ha = new List<string>();
            ha.Add(@"C:\Users\Public\Music\Sample Music");

            dbh.FillPath(ha);

            var stop = new Stopwatch();

            stop.Start();
            var index = new FileIndexer(@"C:\Users\Public\Music\Sample Music");

            List<IMetadataReader> mdata = index.GetMetaData();

            Console.WriteLine(stop.ElapsedMilliseconds);

            dbh.Album_Artist_Genre_Adders(mdata);

            dbh.fillMusicdata(mdata);
            stop.Stop();
            Console.WriteLine(stop.ElapsedMilliseconds);
        }
        static void Main(string[] args)
        {
            var index = new FileIndexer(@"C:\Users\Public\Music\Sample Music");

            List<IMetadataReader> hans = index.GetMetaData();

            foreach (var metadataReader in hans)
            {
                Console.WriteLine(metadataReader.Title);
            }
        }
        public void hs(List<string> ha)
        {

            foreach (var path in ha)
            {
                var indexer = new FileIndexer(path);

                List<IMetadataReader> mdata = indexer.GetMetaData();

                db.Album_Artist_Genre_Adders(mdata);

                db.fillMusicdata(mdata);
            }

        }