beginning remote subtitle downloading

This commit is contained in:
Luke Pulverenti
2014-05-06 22:28:19 -04:00
parent e1dd361c7b
commit 0d025f7fb6
49 changed files with 1035 additions and 299 deletions

View File

@@ -4,6 +4,6 @@ namespace MediaBrowser.MediaEncoding.Subtitles
{
public interface ISubtitleParser
{
SubtitleInfo Parse(Stream stream);
SubtitleTrackInfo Parse(Stream stream);
}
}

View File

@@ -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();
}

View File

@@ -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();
}

View File

@@ -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>();
}