diff options
Diffstat (limited to 'MediaBrowser.Model/Entities/Video.cs')
| -rw-r--r-- | MediaBrowser.Model/Entities/Video.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Entities/Video.cs b/MediaBrowser.Model/Entities/Video.cs index f947509c1..fab22abd3 100644 --- a/MediaBrowser.Model/Entities/Video.cs +++ b/MediaBrowser.Model/Entities/Video.cs @@ -6,7 +6,7 @@ namespace MediaBrowser.Model.Entities {
public VideoType VideoType { get; set; }
- public IEnumerable<string> Subtitles { get; set; }
+ public IEnumerable<SubtitleStream> Subtitles { get; set; }
public IEnumerable<AudioStream> AudioStreams { get; set; }
public int Height { get; set; }
@@ -25,6 +25,12 @@ namespace MediaBrowser.Model.Entities public int Channels { get; set; }
public int SampleRate { get; set; }
public bool IsDefault { get; set; }
+ }
+
+ public class SubtitleStream
+ {
+ public string Language { get; set; }
+ public bool IsDefault { get; set; }
public bool IsForced { get; set; }
}
|
