#pragma warning disable CS1591 using System.IO; using MediaBrowser.Model.MediaInfo; namespace MediaBrowser.MediaEncoding.Subtitles { public interface ISubtitleParser { /// /// Parses the specified stream. /// /// The stream. /// The file extension. /// SubtitleTrackInfo. SubtitleTrackInfo Parse(Stream stream, string fileExtension); /// /// Determines whether the file extension is supported by the parser. /// /// The file extension. /// A value indicating whether the file extension is supported. bool SupportsFileExtension(string fileExtension); } }