示例#1
0
        private void OnGroupFinished(SongGroupRecorder sender, EventArgs e)
        {
            sender.GroupFinished -= OnGroupFinished;

            this.GroupFinished.Fire(sender, e);

            StartNewGroupRecording();
        }
示例#2
0
        private void StartNewGroupRecording()
        {
            var newGroup = new SongGroupRecorder(
                this.TempFolder,
                this.SpotifyProcessManager,
                this.SongClassificationInfo,
                this.SongRefreshInterval,
                this._logger
                );

            _groupRecordings.Add(
                newGroup
                );

            newGroup.GroupFinished += OnGroupFinished;
        }
 private void OnGroupFinished(SongGroupRecorder sender, EventArgs e)
 {
     GroupFinished.Fire(sender, e);
 }