Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
mp3butcher committed Dec 20, 2023
1 parent 0833239 commit 29db68a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions legacy/application/models/StreamSetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
]);
}
}
Expand Down
3 changes: 3 additions & 0 deletions playout/tests/liquidsoap/entrypoint_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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": [
Expand Down

0 comments on commit 29db68a

Please sign in to comment.