|
|
@ -13,17 +13,17 @@ namespace Jellyfin.Server.Implementations.Events.Consumers.Updates
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Creates an entry in the activity log when a package installation fails.
|
|
|
|
/// Creates an entry in the activity log when a package installation fails.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
public class PackageInstallationFailedLogger : IEventConsumer<InstallationFailedEventArgs>
|
|
|
|
public class PluginInstallationFailedLogger : IEventConsumer<InstallationFailedEventArgs>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
private readonly ILocalizationManager _localizationManager;
|
|
|
|
private readonly ILocalizationManager _localizationManager;
|
|
|
|
private readonly IActivityManager _activityManager;
|
|
|
|
private readonly IActivityManager _activityManager;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
|
/// Initializes a new instance of the <see cref="PackageInstallationFailedLogger"/> class.
|
|
|
|
/// Initializes a new instance of the <see cref="PluginInstallationFailedLogger"/> class.
|
|
|
|
/// </summary>
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="localizationManager">The localization manager.</param>
|
|
|
|
/// <param name="localizationManager">The localization manager.</param>
|
|
|
|
/// <param name="activityManager">The activity manager.</param>
|
|
|
|
/// <param name="activityManager">The activity manager.</param>
|
|
|
|
public PackageInstallationFailedLogger(ILocalizationManager localizationManager, IActivityManager activityManager)
|
|
|
|
public PluginInstallationFailedLogger(ILocalizationManager localizationManager, IActivityManager activityManager)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_localizationManager = localizationManager;
|
|
|
|
_localizationManager = localizationManager;
|
|
|
|
_activityManager = activityManager;
|
|
|
|
_activityManager = activityManager;
|