aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2026-05-06 20:49:19 +0200
committerGitHub <noreply@github.com>2026-05-06 20:49:19 +0200
commit33ed52b8ee25e1fae4763a26337b838dc9782b26 (patch)
treeee68da202f604eef267254ea8c689965098b1c3e /MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs
parentaa96ff42e616ecf5638a8f1e2e8459b94513c528 (diff)
parentd1ab428476f961426841a0561036c59c3b93878e (diff)
Merge branch 'master' into feature/season-provider-id-from-path
Diffstat (limited to 'MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs')
-rw-r--r--MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs b/MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs
new file mode 100644
index 0000000000..7590ad7d36
--- /dev/null
+++ b/MediaBrowser.Controller/Entities/LibraryOptionsUpdatedEventArgs.cs
@@ -0,0 +1,31 @@
+using System;
+using MediaBrowser.Model.Configuration;
+
+namespace MediaBrowser.Controller.Entities;
+
+/// <summary>
+/// Event arguments for when library options are updated.
+/// </summary>
+public class LibraryOptionsUpdatedEventArgs : EventArgs
+{
+ /// <summary>
+ /// Initializes a new instance of the <see cref="LibraryOptionsUpdatedEventArgs"/> class.
+ /// </summary>
+ /// <param name="libraryPath">The path of the library whose options were updated.</param>
+ /// <param name="libraryOptions">The updated library options.</param>
+ public LibraryOptionsUpdatedEventArgs(string libraryPath, LibraryOptions libraryOptions)
+ {
+ LibraryPath = libraryPath;
+ LibraryOptions = libraryOptions;
+ }
+
+ /// <summary>
+ /// Gets the path of the library whose options were updated.
+ /// </summary>
+ public string LibraryPath { get; }
+
+ /// <summary>
+ /// Gets the updated library options.
+ /// </summary>
+ public LibraryOptions LibraryOptions { get; }
+}