aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/LiveTv/ListingsProviderInfo.cs
blob: 082daeb51bec1c1400a1b6f21ec52f95b141af1f (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
49
50
51
52
53
54
55
56
57
58
#nullable disable
#pragma warning disable CS1591

using System;
using MediaBrowser.Model.Dto;

namespace MediaBrowser.Model.LiveTv
{
    public class ListingsProviderInfo
    {
        public ListingsProviderInfo()
        {
            NewsCategories = new[] { "news", "journalism", "documentary", "current affairs" };
            SportsCategories = new[] { "sports", "basketball", "baseball", "football" };
            KidsCategories = new[] { "kids", "family", "children", "childrens", "disney" };
            MovieCategories = new[] { "movie" };
            EnabledTuners = Array.Empty<string>();
            EnableAllTuners = true;
            ChannelMappings = Array.Empty<NameValuePair>();
        }

        public string Id { get; set; }

        public string Type { get; set; }

        public string Username { get; set; }

        public string Password { get; set; }

        public string ListingsId { get; set; }

        public string ZipCode { get; set; }

        public string Country { get; set; }

        public string Path { get; set; }

        public string[] EnabledTuners { get; set; }

        public bool EnableAllTuners { get; set; }

        public string[] NewsCategories { get; set; }

        public string[] SportsCategories { get; set; }

        public string[] KidsCategories { get; set; }

        public string[] MovieCategories { get; set; }

        public NameValuePair[] ChannelMappings { get; set; }

        public string MoviePrefix { get; set; }

        public string PreferredLanguage { get; set; }

        public string UserAgent { get; set; }
    }
}