aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/LiveTv/LiveTvOptions.cs
blob: 25e5c77969608dedd5121cd0b5231e889c778fcd (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
39
40
41
42
43
44
45
46
47
48
#nullable disable
#pragma warning disable CS1591

using System;

namespace MediaBrowser.Model.LiveTv
{
    public class LiveTvOptions
    {
        public LiveTvOptions()
        {
            TunerHosts = Array.Empty<TunerHostInfo>();
            ListingProviders = Array.Empty<ListingsProviderInfo>();
            MediaLocationsCreated = Array.Empty<string>();
            RecordingPostProcessorArguments = "\"{path}\"";
        }

        public int? GuideDays { get; set; }

        public string RecordingPath { get; set; }

        public string MovieRecordingPath { get; set; }

        public string SeriesRecordingPath { get; set; }

        public bool EnableRecordingSubfolders { get; set; }

        public bool EnableOriginalAudioWithEncodedRecordings { get; set; }

        public TunerHostInfo[] TunerHosts { get; set; }

        public ListingsProviderInfo[] ListingProviders { get; set; }

        public int PrePaddingSeconds { get; set; }

        public int PostPaddingSeconds { get; set; }

        public string[] MediaLocationsCreated { get; set; }

        public string RecordingPostProcessor { get; set; }

        public string RecordingPostProcessorArguments { get; set; }

        public bool SaveRecordingNFO { get; set; } = true;

        public bool SaveRecordingImages { get; set; } = true;
    }
}