10 Commits

Author SHA1 Message Date
Felix
cfdf0f2d76 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.
2026-05-05 21:50:50 +03:00
Felix
fd01af1e2c refactor(shared): consolidate player payload decoding into Shared.Engine namespace
Move PlayerPayload class into PlayerJsDecoder.cs and rename namespace to
Shared.Engine. Remove linked source file references from anime projects
(AnimeON, Mikai, NMoonAnime) to prevent duplicate compilation and ensure
single source of truth through Shared.dll.
2026-05-05 21:40:22 +03:00
Felix
b253a21cdf refactor(shared): migrate player payload decoding to common namespace
Move PlayerJsDecoder and PlayerPayload from LME.Shared to LME.Common.Playerjs
namespace. Replace ProjectReference with direct Compile includes for source files
in AnimeON, Mikai, and NMoonAnime projects. Update all using directives to
reference the new namespace across Invoke files.

Note: Controller.cs contains a typo (Firts instead of First) that requires
correction in a subsequent commit.
2026-05-05 21:31:48 +03:00
Felix
60867dabae Update 2026-05-05 20:52:40 +03:00
Felix
d36f29b7be refactor(shared): extract player payload decoding logic into shared library
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).
2026-05-05 20:40:13 +03:00
Felix
b00795c464 refactor(controller): restructure Ashdi stream handling logic
Move the foreach loop inside the null/empty check for ashdiStreams to ensure
proper iteration only when streams are available. This improves code readability
and prevents potential issues with iterating over null or empty collections.
2026-05-02 16:08:27 +03:00
Felix
04bb7d48b5 Усі модулі тепер коректно передають об'єкт SubtitleTpl у шаблони Lampac, що дозволяє відображати субтитри в інтерфейсі плеєра. 2026-05-02 15:54:56 +03:00
Felix
35c16258f8 refactor: centralize module update logic and search registration into shared services while removing redundant helper files 2026-04-17 17:16:47 +03:00
Felix
543aa5f047 refactor: replace dots with underscores in module route paths and identifiers
- Updated all HTTP route paths from "lite/lme.module" to "lite/lme_module" across LME.AnimeON, LME.Bamboo, LME.JackTor, LME.KlonFUN, LME.Makhno, LME.Mikai, LME.NMoonAnime, LME.StarLight, LME.UafilmME, LME.Uaflix, and LME.Unimay controllers
- Standardized error messages, log prefixes, cache keys, and other string identifiers to use underscores instead of dots for consistency with naming conventions
- Applied changes to ModInit.cs, OnlineApi.cs, and invoke classes to maintain uniformity in module references
2026-04-12 11:14:26 +03:00
Felix
2cb90e15a9 refactor(modules): prefix namespaces and identifiers with LME 2026-04-12 10:20:44 +03:00