private static iTunesArtist BuildArtist(Dictionary<string, iTunesArtist> dictionaryArtist, iTunesGenre childGenreFolder, iTunesMusicLibrary folder, Dictionary<string, string> data)
        {
            iTunesArtist childArtistFolder;
            if (dictionaryArtist.ContainsKey(data["Artist"]))
                childArtistFolder = dictionaryArtist[data["Artist"]];
            else
            {
                childArtistFolder = new iTunesArtist();
                childArtistFolder.ArtistName = data["Artist"];
                childArtistFolder.Id = childArtistFolder.Name.GetMD5();

                if (childGenreFolder != null && !string.IsNullOrEmpty(data["Genre"]))
                {
                    childGenreFolder.Artists.Add(childArtistFolder);
                }
                folder.Artists.Add(childArtistFolder);
                dictionaryArtist.Add(data["Artist"], childArtistFolder);
            }
            return childArtistFolder;
        }
 private static iTunesSong BuildSong(iTunesArtist childArtistFolder, iTunesAlbum childAlbumFolder, Dictionary<string, string> data)
 {
     iTunesSong newSong = new iTunesSong();
     newSong.SongName = data["Name"];
     newSong.Name = data["Name"];
     newSong.Path = GetUncFileName(data["Location"]);
     newSong.Id = newSong.Path.GetMD5();
     childAlbumFolder.Songs.Add(newSong);
     childAlbumFolder.Parent = childArtistFolder;
     return newSong;
 }
 private static iTunesAlbum BuildAlbum(Dictionary<string, iTunesAlbum> dictionaryAlbum, iTunesArtist childArtistFolder, Dictionary<string, string> data)
 {
     iTunesAlbum childAlbumFolder;
     if (dictionaryAlbum.ContainsKey(string.Concat(data["Artist"], data["Album"])))
         childAlbumFolder = dictionaryAlbum[string.Concat(data["Artist"], data["Album"])];
     else
     {
         childAlbumFolder = new iTunesAlbum();
         childAlbumFolder.Name = data["Album"];
         childAlbumFolder.AlbumName = data["Album"];
         childAlbumFolder.Id = string.Concat(data["Artist"], data["Album"]).GetMD5();
         childArtistFolder.Albums.Add(childAlbumFolder);
         childAlbumFolder.Parent = childArtistFolder;
         dictionaryAlbum.Add(string.Concat(data["Artist"], data["Album"]), childAlbumFolder);
     }
     return childAlbumFolder;
 }