Felix 581b3438a5 refactor(modules): prefix namespaces and identifiers with LME
- Updated namespaces across all online modules to include LME prefix (e.g., AnimeON -> LME.AnimeON)
- Changed routes from /lite/plugin to /lite/lme.plugin
- Prefixed cache keys with lme. (e.g., jacktor: -> lme.jacktor:)
- Updated module settings names and init calls to LME.Plugin
- Bumped version numbers and updated manifest files with LME-prefixed class names
- Replaced OnError calls to use lme.plugin identifiers
- Modified log messages to include lme.plugin prefix for consistency
2026-04-12 09:29:49 +03:00

71 lines
2.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System.Collections.Generic;
namespace LME.Uaflix.Models
{
/// <summary>
/// Модель для зберігання інформації про озвучку серіалу
/// </summary>
public class VoiceInfo
{
/// <summary>
/// Назва озвучки без префіксу (наприклад, "DniproFilm")
/// </summary>
public string Name { get; set; }
/// <summary>
/// Тип плеєра: "ashdi-serial", "zetvideo-serial", "zetvideo-vod", "ashdi-vod"
/// </summary>
public string PlayerType { get; set; }
/// <summary>
/// Назва для відображення з префіксом плеєра (наприклад, "[Ashdi] DniproFilm")
/// </summary>
public string DisplayName { get; set; }
/// <summary>
/// Словник сезонів: ключ - номер сезону, значення - список епізодів
/// </summary>
public Dictionary<int, List<EpisodeInfo>> Seasons { get; set; }
public VoiceInfo()
{
Seasons = new Dictionary<int, List<EpisodeInfo>>();
}
}
/// <summary>
/// Модель для зберігання інформації про окремий епізод
/// </summary>
public class EpisodeInfo
{
/// <summary>
/// Номер епізоду
/// </summary>
public int Number { get; set; }
/// <summary>
/// Назва епізоду
/// </summary>
public string Title { get; set; }
/// <summary>
/// Пряме посилання на відео файл (m3u8)
/// </summary>
public string File { get; set; }
/// <summary>
/// ID епізоду у плеєрі
/// </summary>
public string Id { get; set; }
/// <summary>
/// URL постера епізоду
/// </summary>
public string Poster { get; set; }
/// <summary>
/// Субтитри у форматі Playerjs
/// </summary>
public string Subtitle { get; set; }
}
}