SubtitleEdit/libse/SubtitleFormats/SamiModern.cs
2016-02-08 21:11:03 +01:00

20 lines
506 B
C#

using System.Collections.Generic;
namespace Nikse.SubtitleEdit.Core.SubtitleFormats
{
public class SamiModern : Sami
{
public override string Name
{
get { return "SAMI modern"; }
}
public override bool IsMine(List<string> lines, string fileName)
{
var subtitle = new Subtitle();
LoadSubtitle(subtitle, lines, fileName);
return subtitle.Paragraphs.Count > _errorCount;
}
}
}