Skip to content

Commit

Permalink
Not throw exception now.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Jul 21, 2024
1 parent 08a72d6 commit 1a51942
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion LrcParser/Parser/Lrc/LrcParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ protected override IEnumerable<object> PreProcess(Song song)

// give it a line if contains ruby.
if (lyrics.Any(l => l.RubyTags.Any()))
throw new InvalidOperationException("Does not support converting ruby tags to LRC format.");
{
// todo: throw the exception by config.
// throw new InvalidOperationException("Does not support converting ruby tags to LRC format.");
yield break;
}

yield break;

Expand Down

0 comments on commit 1a51942

Please sign in to comment.