update subtitle methods
This commit is contained in:
@@ -169,6 +169,8 @@
|
||||
<Compile Include="Configuration\MetadataPluginType.cs" />
|
||||
<Compile Include="Dlna\SubtitleProfile.cs" />
|
||||
<Compile Include="MediaInfo\MediaProtocol.cs" />
|
||||
<Compile Include="MediaInfo\SubtitleTrackEvent.cs" />
|
||||
<Compile Include="MediaInfo\SubtitleTrackInfo.cs" />
|
||||
<Compile Include="Net\HttpResponse.cs" />
|
||||
<Compile Include="Net\MimeTypes.cs" />
|
||||
<Compile Include="Notifications\NotificationOption.cs" />
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
|
||||
namespace MediaBrowser.Model.MediaInfo
|
||||
{
|
||||
public class SubtitleTrackEvent
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Text { get; set; }
|
||||
public long StartPositionTicks { get; set; }
|
||||
public long EndPositionTicks { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.MediaInfo
|
||||
{
|
||||
public class SubtitleTrackInfo
|
||||
{
|
||||
public List<SubtitleTrackEvent> TrackEvents { get; set; }
|
||||
|
||||
public SubtitleTrackInfo()
|
||||
{
|
||||
TrackEvents = new List<SubtitleTrackEvent>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user