mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-06-17 12:08:54 +00:00
Add stream selection by voice title when multiple player sources are available, and preserve all zetvideo iframe URLs on episode pages so multiple translations can be generated. Update episode probing to return structured player info and propagate the selected stream metadata through play and episode JSON responses.
23 lines
1007 B
C#
23 lines
1007 B
C#
using System;
|
||
using System.Collections.Generic;
|
||
|
||
namespace LME.Uaflix.Models
|
||
{
|
||
public class EpisodeLinkInfo
|
||
{
|
||
public string url { get; set; }
|
||
public string title { get; set; }
|
||
public int season { get; set; }
|
||
public int episode { get; set; }
|
||
|
||
// Нові поля для підтримки змішаних плеєрів
|
||
public string playerType { get; set; } // "ashdi-serial", "zetvideo-serial", "zetvideo-vod", "ashdi-vod"
|
||
public string iframeUrl { get; set; } // URL iframe для цього епізоду
|
||
|
||
/// <summary>
|
||
/// Всі zetvideo iframe URL на сторінці епізоду (для створення кількох перекладів)
|
||
/// Перший елемент відповідає iframeUrl, наступні — додаткові плеєри (напр. з субтитрами)
|
||
/// </summary>
|
||
public List<string> zetvideoIframeUrls { get; set; }
|
||
}
|
||
} |