Exemple #1
0
        /// <summary>
        /// Try to lookup the metadata of the given song.
        /// </summary>
        /// <param name="fileName">The song whose file is to be analyzsed, Must be non-null</param>
        public void Lookup(Song song)
        {
            this.MetaData.Song = song;
            MetaDataStatus status = this.Lookup(song.FullPath);

            this.ChangeState(status);
        }
 protected override object DoWork(System.ComponentModel.DoWorkEventArgs e)
 {
     this.Status = MetaDataStatus.InProgress;
     this.Lookup((Song)e.Argument);
     return null;
 }
 internal void ChangeState(MetaDataStatus status)
 {
     this.Status = status;
     this.OnStatusEvent(new MetaDataEventArgs(this.MetaData));
 }
Exemple #4
0
 protected override object DoWork(System.ComponentModel.DoWorkEventArgs e)
 {
     this.Status = MetaDataStatus.InProgress;
     this.Lookup((Song)e.Argument);
     return(null);
 }
Exemple #5
0
 internal void ChangeState(MetaDataStatus status)
 {
     this.Status = status;
     this.OnStatusEvent(new MetaDataEventArgs(this.MetaData));
 }