From cfdf0f2d769beeeabdf228a46058c93cb32b3514 Mon Sep 17 00:00:00 2001 From: Felix Date: Tue, 5 May 2026 21:50:50 +0300 Subject: [PATCH] refactor(playerjs): rename PlayerJsDecoder namespace to LME.Common.Playerjs Move the PlayerJsDecoder class from Shared.Engine to LME.Common.Playerjs namespace to align with the common library structure. Update global usings in GlobalUsings.cs and add references to PlayerJsDecoder.cs in module manifest files to reflect the new namespace location. --- LME.AnimeON/manifest.json | 3 ++- LME.Mikai/manifest.json | 3 ++- LME.NMoonAnime/manifest.json | 3 ++- LME.Shared/GlobalUsings.cs | 1 + LME.Shared/Playerjs/PlayerJsDecoder.cs | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/LME.AnimeON/manifest.json b/LME.AnimeON/manifest.json index 628bba4..467d294 100644 --- a/LME.AnimeON/manifest.json +++ b/LME.AnimeON/manifest.json @@ -7,6 +7,7 @@ "../LME.Shared/GlobalUsings.cs", "../LME.Shared/Online/OnlineRegistry.cs", "../LME.Shared/Update/ModuleUpdateService.cs", - "../LME.Shared/Apn/ApnHelper.cs" + "../LME.Shared/Apn/ApnHelper.cs", + "../LME.Shared/Playerjs/PlayerJsDecoder.cs" ] } diff --git a/LME.Mikai/manifest.json b/LME.Mikai/manifest.json index 8289c0b..5eaec89 100644 --- a/LME.Mikai/manifest.json +++ b/LME.Mikai/manifest.json @@ -7,6 +7,7 @@ "../LME.Shared/GlobalUsings.cs", "../LME.Shared/Online/OnlineRegistry.cs", "../LME.Shared/Update/ModuleUpdateService.cs", - "../LME.Shared/Apn/ApnHelper.cs" + "../LME.Shared/Apn/ApnHelper.cs", + "../LME.Shared/Playerjs/PlayerJsDecoder.cs" ] } diff --git a/LME.NMoonAnime/manifest.json b/LME.NMoonAnime/manifest.json index bd32fdf..00df32b 100644 --- a/LME.NMoonAnime/manifest.json +++ b/LME.NMoonAnime/manifest.json @@ -7,6 +7,7 @@ "../LME.Shared/GlobalUsings.cs", "../LME.Shared/Online/OnlineRegistry.cs", "../LME.Shared/Update/ModuleUpdateService.cs", - "../LME.Shared/Apn/ApnHelper.cs" + "../LME.Shared/Apn/ApnHelper.cs", + "../LME.Shared/Playerjs/PlayerJsDecoder.cs" ] } diff --git a/LME.Shared/GlobalUsings.cs b/LME.Shared/GlobalUsings.cs index c3d3cbf..f2b4ffa 100644 --- a/LME.Shared/GlobalUsings.cs +++ b/LME.Shared/GlobalUsings.cs @@ -4,3 +4,4 @@ global using Shared.Models.Base; global using AppInit = Shared.CoreInit; global using LME.Common.Online; global using LME.Common.Update; +global using LME.Common.Playerjs; diff --git a/LME.Shared/Playerjs/PlayerJsDecoder.cs b/LME.Shared/Playerjs/PlayerJsDecoder.cs index adab218..32a1ce3 100644 --- a/LME.Shared/Playerjs/PlayerJsDecoder.cs +++ b/LME.Shared/Playerjs/PlayerJsDecoder.cs @@ -7,7 +7,7 @@ using System.Text.Json; using System.Text.Json.Nodes; using System.Text.RegularExpressions; -namespace Shared.Engine +namespace LME.Common.Playerjs { public static class PlayerJsDecoder {