Fix LS input.http buffer parameter for LS 2.0 (#4769)

This commit is contained in:
Vaalyn 2021-11-09 15:42:31 +01:00 committed by GitHub
parent 4cbb9dd755
commit 550054916f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ class ConfigWriter implements EventSubscriberInterface
$buffer = $playlist->getRemoteBuffer();
$buffer = ($buffer < 1) ? Entity\StationPlaylist::DEFAULT_REMOTE_BUFFER : $buffer;
$playlistConfigLines[] = $playlistVarName . ' = mksafe(input.http(max=' . $buffer . '., "' . self::cleanUpString($remote_url) . '"))';
$playlistConfigLines[] = $playlistVarName . ' = mksafe(input.http(max_buffer=' . $buffer . '., "' . self::cleanUpString($remote_url) . '"))';
}
break;
}