private void OnEndRequest(object sender, FinderEvent e)
 {
     EventHandler<FinderEvent> temp = Interlocked.CompareExchange(ref EndRequest, null, null);
     if (temp != null)
         temp(sender, e);
 }
 private void OnEndFindCoverRequest(object s, FinderEvent e)
 {
     // if player is not playing, no need to apply search results.
     if (Player.State == AimpPlayerState.Playing)
     {
         UpdateImage(e.CoverBitmap);
     }
 }