mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
38 lines
1 KiB
C#
38 lines
1 KiB
C#
using System.Collections.Generic;
|
|
|
|
namespace MediaBrowser.Model.Entities
|
|
{
|
|
public class Video : BaseItem
|
|
{
|
|
public VideoType VideoType { get; set; }
|
|
|
|
public IEnumerable<string> Subtitles { get; set; }
|
|
public IEnumerable<AudioStream> AudioStreams { get; set; }
|
|
|
|
public int Height { get; set; }
|
|
public int Width { get; set; }
|
|
public string ScanType { get; set; }
|
|
public string FrameRate { get; set; }
|
|
public int BitRate { get; set; }
|
|
public string Codec { get; set; }
|
|
}
|
|
|
|
public class AudioStream
|
|
{
|
|
public string Format { get; set; }
|
|
public string Profile { get; set; }
|
|
public string Language { get; set; }
|
|
public int BitRate { get; set; }
|
|
public int Channels { get; set; }
|
|
public int SampleRate { get; set; }
|
|
public bool IsDefault { get; set; }
|
|
public bool IsForced { get; set; }
|
|
}
|
|
|
|
public enum VideoType
|
|
{
|
|
VideoFile,
|
|
DVD,
|
|
BluRay
|
|
}
|
|
}
|