mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-04-16 17:32:20 +00:00
Integrate Makhno video streaming service with support for movies and serials. The module provides search functionality, player data retrieval, and streaming capabilities through multiple external APIs including Wormhole, Ashdi, and UaTUT. Features include: - HTTP controller for handling playback requests - Support for multiple voice translations and seasons - Proxy management and caching - TMDB integration for metadata enrichment - Online API integration for event handling
62 lines
1.4 KiB
C#
62 lines
1.4 KiB
C#
using Newtonsoft.Json;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Makhno.Models
|
|
{
|
|
public class SearchResult
|
|
{
|
|
[JsonProperty("id")]
|
|
public string Id { get; set; }
|
|
|
|
[JsonProperty("imdb_id")]
|
|
public string ImdbId { get; set; }
|
|
|
|
[JsonProperty("title")]
|
|
public string Title { get; set; }
|
|
|
|
[JsonProperty("title_alt")]
|
|
public string TitleAlt { get; set; }
|
|
|
|
[JsonProperty("title_en")]
|
|
public string TitleEn { get; set; }
|
|
|
|
[JsonProperty("title_ru")]
|
|
public string TitleRu { get; set; }
|
|
|
|
[JsonProperty("year")]
|
|
public string Year { get; set; }
|
|
|
|
[JsonProperty("category")]
|
|
public string Category { get; set; }
|
|
}
|
|
|
|
public class PlayerData
|
|
{
|
|
public string File { get; set; }
|
|
public string Poster { get; set; }
|
|
public List<Voice> Voices { get; set; }
|
|
public List<Season> Seasons { get; set; }
|
|
}
|
|
|
|
public class Voice
|
|
{
|
|
public string Name { get; set; }
|
|
public List<Season> Seasons { get; set; }
|
|
}
|
|
|
|
public class Season
|
|
{
|
|
public string Title { get; set; }
|
|
public List<Episode> Episodes { get; set; }
|
|
}
|
|
|
|
public class Episode
|
|
{
|
|
public string Title { get; set; }
|
|
public string File { get; set; }
|
|
public string Id { get; set; }
|
|
public string Poster { get; set; }
|
|
public string Subtitle { get; set; }
|
|
}
|
|
}
|