Added VideoInfo to DTOBaseItem

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-08-22 08:56:44 -04:00
parent fbf8cc833c
commit f2de85b5d9
10 changed files with 156 additions and 58 deletions

View File

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