fix(uakino): always request ashdi vod with multivoice parameter

Ensure Ashdi VOD fetches include the `multivoice` query flag so the response
contains the full stream array instead of a single variant. This restores
complete track availability for downstream parsing and labeling logic.
This commit is contained in:
Felix 2026-05-15 20:08:08 +03:00
parent b6a884d6e3
commit d145313c5b

View File

@ -288,13 +288,17 @@ namespace LME.UAKino
{
_onLog?.Invoke($"UAKino resolve Ashdi all: {vodUrl}");
// Для ?multivoice — Ашді повертає всі стріми в одному масиві
string fetchUrl = vodUrl;
if (!fetchUrl.Contains("multivoice"))
fetchUrl += (fetchUrl.Contains("?") ? "&" : "?") + "multivoice";
var headers = new List<HeadersModel>()
{
new HeadersModel("User-Agent", Http.UserAgent),
new HeadersModel("Referer", "https://ashdi.vip/")
};
string fetchUrl = vodUrl;
if (ApnHelper.IsEnabled(_init) && string.IsNullOrWhiteSpace(_init.webcorshost))
fetchUrl = ApnHelper.WrapUrl(_init, fetchUrl);