mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-06-17 12:08:54 +00:00
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.
This commit is contained in:
parent
90e7ec4602
commit
9e677b4113
@ -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)
|
||||
|
||||
@ -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"
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user