From 768c916b1d6f29ee53c0de6e1d5937a7371410d4 Mon Sep 17 00:00:00 2001 From: baliasnyifeliks Date: Wed, 14 Jan 2026 09:01:01 +0200 Subject: [PATCH] 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. --- Uaflix/Controller.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Uaflix/Controller.cs b/Uaflix/Controller.cs index fb73002..edb0e49 100644 --- a/Uaflix/Controller.cs +++ b/Uaflix/Controller.cs @@ -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 } } -