internal override void LoadMissingDataCore () { Release release = new Release (Id); type = release.GetReleaseType (); status = release.GetReleaseStatus (); language = release.GetLanguage (); script = release.GetScript (); asin = release.GetAsin (); events = release.GetEvents (); if (discs == null) discs = release.GetDiscs (); if (tracks == null) tracks = release.GetTracks (); base.LoadMissingDataCore (release); }
public int GetTrackNumber (Release release) { if (release == null) throw new ArgumentNullException ("release"); foreach (Release r in GetReleases ()) if (r.Equals (release)) return r.TrackNumber; return -1; }