A live bird collage card for your Home Assistant dashboard.
fixed input -- this can only support one stream at a time
mcguirepr8952981d421c0d
diff --git a/scripts/advanced.php b/scripts/advanced.phpindex b73bfbe5..05fb3467 100644--- a/scripts/advanced.php+++ b/scripts/advanced.php@@ -215,7 +215,7 @@ if (file_exists('./scripts/thisrun.txt')) {<input name="channels" type="number" min="1" max="32" step="1" value="<?php print($newconfig['CHANNELS']);?>" required/><br><p>Set Channels to the number of channels supported by your sound card. 32 max.</p><label for="rtsp_stream">RTSP Stream: </label>- <textarea name="rtsp_stream" type="url" ><?php print( str_replace(",", "\r\n", $newconfig['RTSP_STREAM']));?></textarea><br>+ <input name="rtsp_stream" type="url" value="<?php echo $newconfig['RTSP_STREAM'];?>"</input><br><p>If you place an RTSP stream URL here, BirdNET-Pi will use that as its audio source. If you have multiple streams, each URL should be on its own line.</p><label for="recording_length">Recording Length: </label><input name="recording_length" oninput="document.getElementsByName('extraction_length')[0].setAttribute('max', this.value);" type="number" min="3" max="60" step="1" value="<?php print($newconfig['RECORDING_LENGTH']);?>" required/><br>