diff options
| author | David Ullmer <daullmer@gmail.com> | 2021-02-11 13:48:58 +0100 |
|---|---|---|
| committer | David Ullmer <daullmer@gmail.com> | 2021-02-11 13:48:58 +0100 |
| commit | ab5fb1b1f201795041a960c74b540c768fe8d08b (patch) | |
| tree | 579964cea4db7e04299084d555e493b9dc74ca54 /Emby.Server.Implementations/Plugins/PluginManager.cs | |
| parent | ae57ed4ac70eda1046c86e40e41b9683b2115f59 (diff) | |
| parent | d490c1c2bcb2852c9159e8578bc7a60e086e4202 (diff) | |
Merge branch 'master' of github.com:jellyfin/jellyfin into nfo-watched
Diffstat (limited to 'Emby.Server.Implementations/Plugins/PluginManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Plugins/PluginManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Plugins/PluginManager.cs b/Emby.Server.Implementations/Plugins/PluginManager.cs index 8e5987026..c26ccfd88 100644 --- a/Emby.Server.Implementations/Plugins/PluginManager.cs +++ b/Emby.Server.Implementations/Plugins/PluginManager.cs @@ -348,7 +348,7 @@ namespace Emby.Server.Implementations.Plugins try { var data = JsonSerializer.Serialize(manifest, _jsonOptions); - File.WriteAllText(Path.Combine(path, "meta.json"), data, Encoding.UTF8); + File.WriteAllText(Path.Combine(path, "meta.json"), data); return true; } #pragma warning disable CA1031 // Do not catch general exception types @@ -519,7 +519,7 @@ namespace Emby.Server.Implementations.Plugins return _plugins.Remove(plugin); } - private LocalPlugin LoadManifest(string dir) + internal LocalPlugin LoadManifest(string dir) { Version? version; PluginManifest? manifest = null; |
