diff options
| author | Kefia-02 <yoshimtsu4432@gmail.com> | 2026-11-29 19:01:43 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-29 11:01:43 +0100 |
| commit | ce2884c0efbe3e973d757504a418900fc83671b5 (patch) | |
| tree | e9ed51d1072cbfb432f2884849cb99037b548557 /Emby.Server.Implementations/Updates | |
| parent | 51a3e2d462f9417ab9302b07e220b3eceb503143 (diff) | |
Fix superseded plugins being reactivated during catalog refresh (#18773)
* fix(plugins): preserve superseded status during catalog refresh
* fix(plugins): exclude superseded versions from update candidates
* test(plugins): cover superseded status after catalog refresh
Diffstat (limited to 'Emby.Server.Implementations/Updates')
| -rw-r--r-- | Emby.Server.Implementations/Updates/InstallationManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs index cccdb3e6aa..8fd4b83e78 100644 --- a/Emby.Server.Implementations/Updates/InstallationManager.cs +++ b/Emby.Server.Implementations/Updates/InstallationManager.cs @@ -503,9 +503,9 @@ namespace Emby.Server.Implementations.Updates var plugins = _pluginManager.Plugins; foreach (var plugin in plugins) { - // Don't auto update when plugin marked not to, or when it's disabled or pending removal. + // Don't auto update when plugin marked not to, or when it's disabled, superseded or pending removal. if (plugin.Manifest?.AutoUpdate == false - || plugin.Manifest?.Status is PluginStatus.Disabled or PluginStatus.Deleted) + || plugin.Manifest?.Status is PluginStatus.Disabled or PluginStatus.Superseded or PluginStatus.Deleted) { continue; } |
