From b9dc0858ee7ce05263a90c22cd72b9cca0f28f9f Mon Sep 17 00:00:00 2001 From: nilaoda Date: Thu, 8 Dec 2022 22:44:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E4=B8=8D=E6=A0=87=E5=87=86?= =?UTF-8?q?=E7=9A=84VTT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/N_m3u8DL-RE.Common/Entity/WebVttSub.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/N_m3u8DL-RE.Common/Entity/WebVttSub.cs b/src/N_m3u8DL-RE.Common/Entity/WebVttSub.cs index 42283c0..b33c329 100644 --- a/src/N_m3u8DL-RE.Common/Entity/WebVttSub.cs +++ b/src/N_m3u8DL-RE.Common/Entity/WebVttSub.cs @@ -171,6 +171,7 @@ namespace N_m3u8DL_RE.Common.Entity private static TimeSpan ConvertToTS(string str) { + str = str.Replace(',', '.'); var ms = Convert.ToInt32(str.Split('.').Last()); var o = str.Split('.').First(); var t = o.Split(':').Reverse().ToList();