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

@@ -91,7 +91,8 @@ namespace MediaBrowser.Model.DTO
public ItemSpecialCounts SpecialCounts { get; set; }
public AudioInfo AudioInfo { get; set; }
public VideoInfo VideoInfo { get; set; }
public bool IsType(Type type)
{
return IsType(type.Name);

View File

@@ -0,0 +1,18 @@
using System.Collections.Generic;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Model.DTO
{
public class VideoInfo
{
public string Codec { get; set; }
public int Height { get; set; }
public int Width { get; set; }
public string ScanType { get; set; }
public VideoType VideoType { get; set; }
public IEnumerable<SubtitleStream> Subtitles { get; set; }
public IEnumerable<AudioStream> AudioStreams { get; set; }
}
}