mirror of
https://github.com/lampame/lampac-ukraine.git
synced 2026-04-16 17:32:20 +00:00
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:
parent
838dc96aa9
commit
768c916b1d
@ -282,7 +282,8 @@ namespace Uaflix.Controllers
|
|||||||
s: s.ToString(),
|
s: s.ToString(),
|
||||||
e: ep.Number.ToString(),
|
e: ep.Number.ToString(),
|
||||||
link: accsArgs(callUrl),
|
link: accsArgs(callUrl),
|
||||||
method: "call"
|
method: "call",
|
||||||
|
streamlink: accsArgs($"{callUrl}&play=true")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -331,4 +332,3 @@ namespace Uaflix.Controllers
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user