mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-06-17 12:08:54 +00:00
Move player payload extraction and decoding logic from individual modules (AnimeON, Mikai, NMoonAnime) into a new LME.Shared library. This reduces code duplication and centralizes the parsing logic for better maintainability. The new PlayerJsDecoder class handles various player script formats including atob-encoded payloads, JSON.parse helpers, and different file payload structures. All consuming modules now reference the shared project and use the common decoder. Also fix typo in NMoonAnime Controller (Firts -> First).
10 lines
173 B
C#
10 lines
173 B
C#
namespace LME.Shared.Models
|
|
{
|
|
public sealed class PlayerPayload
|
|
{
|
|
public string Title { get; set; }
|
|
|
|
public object FilePayload { get; set; }
|
|
}
|
|
}
|