Exemplo n.º 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);
        }
Exemplo n.º 2
0
 protected override object DoWork(System.ComponentModel.DoWorkEventArgs e)
 {
     this.Status = MetaDataStatus.InProgress;
     this.Lookup((Song)e.Argument);
     return null;
 }
Exemplo n.º 3
0
 internal void ChangeState(MetaDataStatus status)
 {
     this.Status = status;
     this.OnStatusEvent(new MetaDataEventArgs(this.MetaData));
 }
Exemplo n.º 4
0
 protected override object DoWork(System.ComponentModel.DoWorkEventArgs e)
 {
     this.Status = MetaDataStatus.InProgress;
     this.Lookup((Song)e.Argument);
     return(null);
 }
Exemplo n.º 5
0
 internal void ChangeState(MetaDataStatus status)
 {
     this.Status = status;
     this.OnStatusEvent(new MetaDataEventArgs(this.MetaData));
 }