<commit_before><html>
    <link rel="shortcut icon" href="about:blank"/>
    <body>
	<!--fill streamList variable with the list of streams -->
	<script src="/getStreamList?streamList" ></script>
	<h3>HLS</h3>
	<video controls id="hlsvideo"></video>
	<script src="hls.js/dist/hls.light.min.js" ></script>
	<script>
		if (Hls.isSupported()) {
			var video = document.getElementById("hlsvideo");
			var hls = new Hls();
			hls.loadSource(streamList[0]+".m3u8");
			hls.attachMedia(video);
			hls.on(Hls.Events.MANIFEST_PARSED, function() { video.play(); });
		} else {
			alert("HLS not supported");
		}
	</script>
    </body>
</html>

<commit_msg>handle multiple stream in index.html<commit_after><html>
    <link rel="shortcut icon" href="about:blank"/>
    <body>
	<!--fill streamList variable with the list of streams -->
	<script src="/getStreamList?streamList" ></script>
	<h3>HLS</h3>
	<div id="videos"></div>
	<script src="hls.js/dist/hls.light.min.js" ></script>
	<script>
		if (Hls.isSupported()) {
			var videos = document.getElementById("videos")
			streamList.forEach( (stream) => {
				var title = document.createElement("h3");
				title.innerText = stream
				videos.appendChild(title)
				var video = document.createElement("video");
				video.style = "margin: 0 auto"
				videos.appendChild(video)
				var hls = new Hls();
				hls.loadSource(stream+".m3u8");
				hls.attachMedia(video);
				hls.on(Hls.Events.MANIFEST_PARSED, function() { video.play(); });
			})
		} else {
			alert("HLS not supported");
		}
	</script>
    </body>
</html>


{'fraction_non_alphanumeric': 0.18392282958199357, 'fraction_numerical': 0.00707395498392283, 'mean_word_length': 3.8173374613003097, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 36, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1003006', 'n_tokens_mistral': 618, 'n_tokens_neox': 557, 'n_words': 111}