Release 0.2.5: harden proxy and streamline metadata fetching
Remove obsolete rule formats, batch SQLite work, preserve artwork source URLs, and coordinate refresh workers with maintenance. Add regression coverage and document backup format changes.
This commit is contained in:
1 parent
7eb62b156e
commit
e36775f1a3
49 files changed
+2126
-1813
No files matched your search
@@ -10,6 +10,8 @@ namespace Jellyfin.Plugin.Multilang;
|
||||
|
||||
public sealed class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
||||
{
|
||||
internal Data.TranslationStore? Store { get; set; }
|
||||
internal bool Uninstalling { get; private set; }
|
||||
public static Plugin? Instance { get; private set; }
|
||||
|
||||
public Plugin(IApplicationPaths applicationPaths, IXmlSerializer xmlSerializer)
|
||||
@@ -24,6 +26,8 @@ public sealed class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
||||
|
||||
public override void OnUninstalling()
|
||||
{
|
||||
Uninstalling = true;
|
||||
using var maintenance = Store?.EnterMaintenanceAsync(CancellationToken.None).GetAwaiter().GetResult();
|
||||
WebScriptInjector.RemoveInjected(ApplicationPaths.WebPath);
|
||||
|
||||
if (Configuration.CleanupDataOnUninstall)
|
||||
|
||||
Reference in new issue
Block a user