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

namespace MediaBrowser.Controller.Subtitles
{
    /// <summary>
    /// An event that occurs when subtitle downloading fails.
    /// </summary>
    public class SubtitleDownloadFailureEventArgs : EventArgs
    {
        /// <summary>
        /// Gets or sets the item.
        /// </summary>
        public BaseItem Item { get; set; }

        /// <summary>
        /// Gets or sets the provider.
        /// </summary>
        public string Provider { get; set; }

        /// <summary>
        /// Gets or sets the exception.
        /// </summary>
        public Exception Exception { get; set; }
    }
}