internal override void ProcessXmlCore (XmlReader reader) { switch (reader.Name) { case "title": title = reader.ReadString (); break; case "artist": artist = new Artist (reader.ReadSubtree ()); break; default: base.ProcessXmlCore (reader); break; } }
internal void LoadMissingDataCore (MusicBrainzItem item) { title = item.GetTitle (); if (artist == null) artist = item.GetArtist (); base.LoadMissingDataCore (item); }
internal MusicBrainzItem (XmlReader reader, Artist artist, bool all_rels_loaded) : base (reader, all_rels_loaded) { if (this.artist == null) this.artist = artist; }
internal Track (XmlReader reader, Artist artist, bool all_rels_loaded) : base (reader, artist, all_rels_loaded) { }
internal override void LoadMissingDataCore () { Artist artist = new Artist (Id); type = artist.GetArtistType (); base.LoadMissingDataCore (artist); }
private void GetFanartBackgrounds(string artistId) { API.cKey = "52c813aa7b8c8b3bb87f4797532a2f8c"; var ims = new Artist(artistId); if (ims.List.AImagesrtistbackground != null) { foreach (var i in ims.List.AImagesrtistbackground) { if (!ArtistBackgrounds.Contains(i.Url)) ArtistBackgrounds.Add(i.Url); } } }
internal Track(XmlReader reader, Artist artist, bool all_rels_loaded) : base(reader, artist, all_rels_loaded) { }