mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 09:04:42 +01:00
beginning remote subtitle downloading
This commit is contained in:
@@ -4,6 +4,6 @@ namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
{
|
||||
public interface ISubtitleParser
|
||||
{
|
||||
SubtitleInfo Parse(Stream stream);
|
||||
SubtitleTrackInfo Parse(Stream stream);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,9 +7,9 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
{
|
||||
public class SrtParser
|
||||
public class SrtParser : ISubtitleParser
|
||||
{
|
||||
public SubtitleInfo Parse(Stream stream)
|
||||
public SubtitleTrackInfo Parse(Stream stream)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@@ -7,9 +7,9 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
{
|
||||
public class SsaParser
|
||||
public class SsaParser : ISubtitleParser
|
||||
{
|
||||
public SubtitleInfo Parse(Stream stream)
|
||||
public SubtitleTrackInfo Parse(Stream stream)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace MediaBrowser.MediaEncoding.Subtitles
|
||||
{
|
||||
public class SubtitleInfo
|
||||
public class SubtitleTrackInfo
|
||||
{
|
||||
public List<SubtitleTrackEvent> TrackEvents { get; set; }
|
||||
|
||||
public SubtitleInfo()
|
||||
public SubtitleTrackInfo()
|
||||
{
|
||||
TrackEvents = new List<SubtitleTrackEvent>();
|
||||
}
|
||||
Reference in New Issue
Block a user