diff --git a/legacy/application/models/StreamSetting.php b/legacy/application/models/StreamSetting.php index b7bf312b69..e40883f027 100644 --- a/legacy/application/models/StreamSetting.php +++ b/legacy/application/models/StreamSetting.php @@ -74,8 +74,8 @@ public static function getOutput($key, $add_prefix = false) $prefix . 'port' => Config::get('general.public_url_raw')->getPort(), $prefix . 'type' => 'x-mpegurl', $prefix . 'bitrate' => '', - #prefix manifest with webserver hls mount point - $prefix . 'mount' => 'hls/'.$output['manifest'], + // prefix manifest with webserver hls mount point + $prefix . 'mount' => 'hls/' . $output['manifest'], ]); } } diff --git a/playout/tests/liquidsoap/entrypoint_test.py b/playout/tests/liquidsoap/entrypoint_test.py index c92a68ec73..a81a51342b 100644 --- a/playout/tests/liquidsoap/entrypoint_test.py +++ b/playout/tests/liquidsoap/entrypoint_test.py @@ -28,6 +28,7 @@ def test_generate_entrypoint(stream_config: Config, version, snapshot): ): found = generate_entrypoint( log_filepath=Path("/var/log/radio.log"), + hls_output_path=Path.cwd(), config=stream_config, preferences=StreamPreferences( input_fade_transition=0.0, @@ -58,6 +59,7 @@ def test_liquidsoap_syntax(tmp_path: Path, stream_config): entrypoint_filepath.write_text( generate_entrypoint( log_filepath=log_filepath, + hls_output_path=Path.cwd(), config=stream_config, preferences=StreamPreferences( input_fade_transition=0.0, @@ -86,6 +88,7 @@ def test_liquidsoap_unsupported_output_aac(tmp_path: Path): entrypoint_filepath.write_text( generate_entrypoint( log_filepath=log_filepath, + hls_output_path=Path.cwd(), config=make_config_with_stream( outputs={ "icecast": [