aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Lyrics/LyricDownloadFailureEventArgs.cs
blob: 1b1f36020cfcce2de9e7f2e6a96def13373f2e0b (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.Lyrics
{
    /// <summary>
    /// An event that occurs when subtitle downloading fails.
    /// </summary>
    public class LyricDownloadFailureEventArgs : EventArgs
    {
        /// <summary>
        /// Gets or sets the item.
        /// </summary>
        public required BaseItem Item { get; set; }

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

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