aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Subtitles/SubtitleDownloadEventArgs.cs
blob: 1d204f2cbd97ce2921e55e50d2ee8cef54069461 (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
using System;
using MediaBrowser.Controller.Entities;

namespace MediaBrowser.Controller.Subtitles
{
    public class SubtitleDownloadEventArgs
    {
        public BaseItem Item { get; set; }

        public string Format { get; set; }

        public string Language { get; set; }

        public bool IsForced { get; set; }

        public string Provider { get; set; }
    }

    public class SubtitleDownloadFailureEventArgs
    {
        public BaseItem Item { get; set; }

        public string Provider { get; set; }

        public Exception Exception { get; set; }
    }
}