lampac-ukraine/StarLight/Models/StarLightModels.cs
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

50 lines
1.4 KiB
C#

using System.Collections.Generic;
namespace LME.StarLight.Models
{
public class SearchResult
{
public string Title { get; set; }
public string Type { get; set; }
public string Href { get; set; }
public string Channel { get; set; }
public string Project { get; set; }
}
public class SeasonInfo
{
public string Title { get; set; }
public string Slug { get; set; }
}
public class EpisodeInfo
{
public string Title { get; set; }
public string Hash { get; set; }
public string VideoSlug { get; set; }
public string Date { get; set; }
public string SeasonSlug { get; set; }
public int? Number { get; set; }
}
public class ProjectInfo
{
public string Title { get; set; }
public string Description { get; set; }
public string Poster { get; set; }
public string Hash { get; set; }
public string Type { get; set; }
public string Channel { get; set; }
public List<SeasonInfo> Seasons { get; set; } = new();
public List<EpisodeInfo> Episodes { get; set; } = new();
}
public class StreamResult
{
public string Stream { get; set; }
public string Poster { get; set; }
public string Name { get; set; }
public List<(string link, string quality)> Streams { get; set; }
}
}