Add base URL to variant playlists (#2755)

* Add PathBase to variant playlists

* add commented code to help with testing

* update changelog

---------

Co-authored-by: Jason Dove <1695733+jasongdove@users.noreply.github.com>
This commit is contained in:
James Dearlove
2026-01-05 09:13:04 -06:00
committed by GitHub
co-authored by Jason Dove
parent a96ef328a5
commit 5c42609527
3 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ public class IptvController : StreamingControllerBase
private async Task<string> GetMultiVariantPlaylist(string channelNumber)
{
var variantPlaylist =
$"{Request.Scheme}://{Request.Host}/iptv/session/{channelNumber}/hls.m3u8{AccessTokenQuery()}";
$"{Request.Scheme}://{Request.Host}{Request.PathBase}/iptv/session/{channelNumber}/hls.m3u8{AccessTokenQuery()}";
Option<ChannelStreamingSpecsViewModel> maybeStreamingSpecs =
await _mediator.Send(new GetChannelStreamingSpecs(channelNumber));