From 9e677b4113fde1e338ed17ab1a3e531ba9ac2a84 Mon Sep 17 00:00:00 2001 From: Felix Date: Fri, 15 May 2026 19:30:42 +0300 Subject: [PATCH] refactor(uakino): remove PlayerJS decode fallback from Ashdi resolver Drop the secondary PlayerJsDecoder extraction path and keep complex VOD payloads untouched by returning the original value. Align the module manifest by removing the now-unused shared PlayerJsDecoder dependency. --- LME.UAKino/UAKinoInvoke.cs | 13 +------------ LME.UAKino/manifest.json | 3 +-- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/LME.UAKino/UAKinoInvoke.cs b/LME.UAKino/UAKinoInvoke.cs index 22a553e..5728900 100644 --- a/LME.UAKino/UAKinoInvoke.cs +++ b/LME.UAKino/UAKinoInvoke.cs @@ -237,18 +237,7 @@ namespace LME.UAKino } } - // Складний плеєр — пробуємо PlayerJsDecoder - try - { - var playerPayload = LME.Common.Playerjs.PlayerJsDecoder.ExtractPlayerPayload(html); - if (playerPayload?.FilePayload is string strUrl && !string.IsNullOrEmpty(strUrl)) - { - _onLog?.Invoke($"UAKino resolved Ashdi (PlayerJsDecoder): {strUrl}"); - return strUrl; - } - } - catch { } - + // Складний масив — не парсимо, повертаємо як є return vodUrl; } catch (Exception ex) diff --git a/LME.UAKino/manifest.json b/LME.UAKino/manifest.json index a78adae..9ed0240 100644 --- a/LME.UAKino/manifest.json +++ b/LME.UAKino/manifest.json @@ -7,7 +7,6 @@ "../LME.Shared/GlobalUsings.cs", "../LME.Shared/Online/OnlineRegistry.cs", "../LME.Shared/Update/ModuleUpdateService.cs", - "../LME.Shared/Apn/ApnHelper.cs", - "../LME.Shared/Playerjs/PlayerJsDecoder.cs" + "../LME.Shared/Apn/ApnHelper.cs" ] }