From 1a5194288a27f486309747339469ed4ee3d14ef1 Mon Sep 17 00:00:00 2001 From: andy840119 Date: Sun, 21 Jul 2024 17:31:22 +0800 Subject: [PATCH] Not throw exception now. --- LrcParser/Parser/Lrc/LrcParser.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/LrcParser/Parser/Lrc/LrcParser.cs b/LrcParser/Parser/Lrc/LrcParser.cs index c458a1f..09c5d0a 100644 --- a/LrcParser/Parser/Lrc/LrcParser.cs +++ b/LrcParser/Parser/Lrc/LrcParser.cs @@ -50,7 +50,11 @@ protected override IEnumerable 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;