예제 #1
0
 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;
     }
 }
예제 #2
0
 internal void LoadMissingDataCore (MusicBrainzItem item)
 {
     title = item.GetTitle ();
     if (artist == null) artist = item.GetArtist ();
     base.LoadMissingDataCore (item);
 }
예제 #3
0
 internal MusicBrainzItem (XmlReader reader, Artist artist, bool all_rels_loaded) : base (reader, all_rels_loaded)
 {
     if (this.artist == null) this.artist = artist;
 }
예제 #4
0
파일: Track.cs 프로젝트: hannuraina/tag
 internal Track (XmlReader reader, Artist artist, bool all_rels_loaded) : base (reader, artist, all_rels_loaded)
 {
 }
예제 #5
0
파일: Artist.cs 프로젝트: hannuraina/tag
 internal override void LoadMissingDataCore ()
 {
     Artist artist = new Artist (Id);
     type = artist.GetArtistType ();
     base.LoadMissingDataCore (artist);
 }
예제 #6
0
        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);
                }
            }
        }
예제 #7
0
 internal Track(XmlReader reader, Artist artist, bool all_rels_loaded) : base(reader, artist, all_rels_loaded)
 {
 }