Beispiel #1
0
        private void UpdateSong(Mp3FileInfoModel file)
        {
            _logController.ChangeTag(file);

            var song = LoadSong(file.Filepath);

            try
            {
                ChangeArtist(song, file);
                ChangeTitle(song, file);

                RemoveUnnecessaryInfo(song);
            }
            catch (IOException e)
            {
                _logController.Error(e.Message);
            }

            SaveSong(song, file);
        }