aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Entities/Video.cs
blob: 688226634c46bc4ad0b018bca45338de6ade69e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
    }
}