feat(api): add streamlink parameter to call method

The change adds a new 'streamlink' parameter to the call method in the Controller
to support direct playback functionality. This enhances the API by providing
a dedicated endpoint for streaming content with play=true query parameter.
This commit is contained in:
baliasnyifeliks 2026-01-14 09:01:01 +02:00
parent 838dc96aa9
commit 768c916b1d

View File

@ -282,7 +282,8 @@ namespace Uaflix.Controllers
s: s.ToString(),
e: ep.Number.ToString(),
link: accsArgs(callUrl),
method: "call"
method: "call",
streamlink: accsArgs($"{callUrl}&play=true")
);
}
else
@ -331,4 +332,3 @@ namespace Uaflix.Controllers
}
}