Adding links to recordings
This should add a link to all the recordings, so you can copy and share with a friend, or save somewhere. There's better ways some of this can be done, but it works for now. (please test this! not sure if I copied all the right files to git)
This commit is contained in:
@@ -54,6 +54,14 @@ if(isset($_GET['stream'])){
|
||||
<h1><a href=\"\">BirdNET-Pi</a><img src=\"images/version.svg\"></h1>
|
||||
</div>";
|
||||
}
|
||||
if(isset($_GET['filename'])) {
|
||||
$filename = $_GET['filename'];
|
||||
echo "
|
||||
<iframe src=\"/views.php?view=Recordings&filename=$filename\"></iframe>
|
||||
</div>";
|
||||
} else {
|
||||
echo "
|
||||
<iframe src=\"/views.php\"></iframe>
|
||||
</div>";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user