Merge pull request #8727 from crobibero/disable-auto-update

Don't auto-update if plugin is pending restart
This commit is contained in:
Claus Vium 2022-11-17 18:54:55 +01:00 committed by GitHub
commit f3ac9ba465
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -715,6 +715,7 @@ namespace Emby.Server.Implementations.Plugins
{ {
// This value is memory only - so that the web will show restart required. // This value is memory only - so that the web will show restart required.
plugin.Manifest.Status = PluginStatus.Restart; plugin.Manifest.Status = PluginStatus.Restart;
plugin.Manifest.AutoUpdate = false;
return; return;
} }
@ -729,6 +730,7 @@ namespace Emby.Server.Implementations.Plugins
// This value is memory only - so that the web will show restart required. // This value is memory only - so that the web will show restart required.
plugin.Manifest.Status = PluginStatus.Restart; plugin.Manifest.Status = PluginStatus.Restart;
plugin.Manifest.AutoUpdate = false;
} }
} }
} }