mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-23 15:30:34 -04:00
Update SubtitleApi.cs
This commit is contained in:
parent
037707740e
commit
c5dbd455d0
@ -128,6 +128,8 @@ namespace Kyoo.Api
|
|||||||
|
|
||||||
private static IEnumerable<string> ConvertBlock(IList<string> lines)
|
private static IEnumerable<string> ConvertBlock(IList<string> lines)
|
||||||
{
|
{
|
||||||
|
if (lines.Length < 3)
|
||||||
|
return lines;
|
||||||
lines[1] = lines[1].Replace(',', '.');
|
lines[1] = lines[1].Replace(',', '.');
|
||||||
if (lines[2].Length > 5)
|
if (lines[2].Length > 5)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user