mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
Add baseUrlParam back in and fix indentation
This commit is contained in:
@@ -1632,6 +1632,15 @@ public class DynamicHlsController : BaseJellyfinApiController
|
||||
? _encodingOptions.MaxMuxingQueueSize.ToString(CultureInfo.InvariantCulture)
|
||||
: "128";
|
||||
|
||||
var baseUrlParam = string.Empty;
|
||||
if (isEventPlaylist)
|
||||
{
|
||||
baseUrlParam = string.Format(
|
||||
CultureInfo.InvariantCulture,
|
||||
" -hls_base_url \"hls/{0}/\"",
|
||||
Path.GetFileNameWithoutExtension(outputPath));
|
||||
}
|
||||
|
||||
var hlsArguments = GetHlsArguments(isEventPlaylist, state.SegmentLength);
|
||||
|
||||
return string.Format(
|
||||
|
||||
Reference in New Issue
Block a user