private void AudioUploaded(object sender, AudioUploadedEventArgs e)
        {
            try
            {
                var session = _sessions[e.Audio.SessionId];
                session.Count--;

                if (session.Count > 0) return;

                session.AllAudiosUploaded(this, EventArgs.Empty);
                //_sessions.Remove(e.Audio.SessionId);
            }
            catch (Exception ex)
            {
                Log.Error(ex.Message, ex);
            }
        }
Exemplo n.º 2
0
 private void AudioUploaded(object sender, AudioUploadedEventArgs e)
 {
     try
     {
         AppendToLog("Upload complete! " + e.Audio.Title);
     }
     catch (Exception ex)
     {
         Log.Error(ex.Message, ex);
     }
 }