aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2022-11-17 18:54:55 +0100
committerGitHub <noreply@github.com>2022-11-17 18:54:55 +0100
commitf3ac9ba4659d58f7bfe1bd006fbea1f68f86b73b (patch)
treec6a49d6f82951a08c1d353e8a60531006f1a6d9a
parentf4ab56e12acd8c45dbb04cde93d24db37884bbfe (diff)
parentd7f0596d5dcc6c6eddee05dbddd1d5e493c3580d (diff)
Merge pull request #8727 from crobibero/disable-auto-update
Don't auto-update if plugin is pending restart
-rw-r--r--Emby.Server.Implementations/Plugins/PluginManager.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.cs
index ec4e0dbeb..3f7d46822 100644
--- a/Emby.Server.Implementations/Plugins/PluginManager.cs
+++ b/Emby.Server.Implementations/Plugins/PluginManager.cs
@@ -715,6 +715,7 @@ namespace Emby.Server.Implementations.Plugins
{
// This value is memory only - so that the web will show restart required.
plugin.Manifest.Status = PluginStatus.Restart;
+ plugin.Manifest.AutoUpdate = false;
return;
}
@@ -729,6 +730,7 @@ namespace Emby.Server.Implementations.Plugins
// This value is memory only - so that the web will show restart required.
plugin.Manifest.Status = PluginStatus.Restart;
+ plugin.Manifest.AutoUpdate = false;
}
}
}