Commit Graph

53 Commits

Author SHA1 Message Date
jaredb7 69c4a6d3b1 Move remaining files to use new code
Include and Exclude list updated to use the calculated path to their respective x_species_list.txt files

Move play.php over to also use the new calculated paths to disk_check_exclude

Spectrogram.php remove unused code & replace setting save code with new function

Stats.php removed old code, update paths to use calculated path.

Rename setSetting func to saveSetting
Remove old code from other pages
2023-05-09 20:29:57 +10:00
jaredb7 9988acfdbd Check RTSP stream selection control is valid
Add a check to make sure the RTSP Stream control is valid before adding the 'onchange' event to avoid breaking the other controls
2023-04-08 14:13:44 +10:00
jaredb7 8b33cee93d Enhancement - Update Spectrogram page to show detection labels on RTSP streams
Added in logic to handle finding the correct 'newest' detection's CSV file for the stream being listened to, the script will look in the sound card recordings location as usual, if it finds nothing there, then look in the StreamData folder for files matching the currently listened stream

Updated spectrogram.sh to not execute sox if the file mentioned in analyzing now does not exist, this is just to try reduce noise in the logs

Fixed my mis-spelling of RTSP again

Small tweak to the Javascript responsible for drawing the labels on the spectrogram to accommodate the inclusion of RTSP_X in the streams filename
2023-04-07 09:46:31 +10:00
jaredb7 ae94cbc189 Enhancement to allow simultaneous RTSP stream recording
Updated birdnet_recording.sh
With a functional change around how ffmpeg is used to make use if it's functionality to accept multiple input streams and map each to a output file.
Due to the original implementation generating a  filename that contain the date/time streams would be writing to the same file - a small change was make each stream go to it's one file with unique filenames.

Updated livestream.sh & spectrogram.php
The Livestream service would fail if the RTSP stream setting was more than 1 stream (i.e comma separated list of streams)
Made some improvements so streaming is possible from any of the URL's, The Spectrogram page received a new control and some Javascript that allows the user to change between streams, the setting gets saved and the livestream service restarted so it uses's the correct stream.
This control is not visible if there are no RTSP streams configured
By default the livestream service will stream the the first RTSP URL, if the setting is not set or invalid

Updated advanced.php
With a small GUI change around RTSP steam entry by providing a input field for each URL and a button to add more fields.
In the background nothing changes as we use some Javascript to extract the valus entered and fill in the original rtsp_stream value with the correct comma separated string

Updated server.py
To work with the recording filename changes so that the correct filename is stored in the DB

Updated update_birdnet_snippets.sh
To support a new setting RTSP_STREAM_TO_LIVESTREAM on the Spectrogram page and in the livestream service
2023-04-01 22:29:02 +10:00
ehpersonal38 9a34674864 Update spectrogram.php 2022-07-18 19:04:42 -04:00
ehpersonal38 0c9bc94ae2 Display errors 2022-07-15 17:20:01 -04:00
ehpersonal38 3941211715 Update spectrogram.php 2022-06-16 09:34:09 -04:00
ehpersonal38 28652ee9fd Maybe better spectrogram labels 2022-06-13 08:26:27 -04:00
ehpersonal38 e7560b56fe extermination 2022-06-11 10:22:11 -04:00
ehpersonal38 c1d07381dc Use legacy spectrogram when user refuses login 2022-06-11 10:17:58 -04:00
ehpersonal38 abed5d9ea7 Update spectrogram.php 2022-06-09 17:23:59 +02:00
ehpersonal38 ecc3f0f93b Update spectrogram.php 2022-06-09 11:09:02 -04:00
ehpersonal38 d3d8318ff5 Update spectrogram.php 2022-06-09 10:50:12 -04:00
ehpersonal38 09d87c7731 Use Pi's system time instead of browser 2022-06-09 10:20:20 -04:00
ehpersonal38 f87d77156c Update spectrogram.php 2022-06-09 10:05:47 -04:00
ehpersonal38 d33ce4143d Spectrogram now uses RECS_DIR 2022-06-09 09:19:41 -04:00
ehpersonal38 e55d423a85 Spectrogram should now work again 2022-06-04 10:23:56 -04:00
ehpersonal38 d5a2dbae58 Proper gain 2022-05-31 10:23:35 -04:00
ehpersonal38 0908d99783 Finally some decent maths 2022-05-29 18:04:40 -04:00
ehpersonal38 278227f559 Compress all the bits 2022-05-29 13:29:44 -04:00
ehpersonal38 4a42fdc8ad More spectro enhancements 2022-05-28 08:53:48 -04:00
ehpersonal38 0187cc2c45 Live Spectrogram Improvements Pt 2
-Text opacity correlates with confidence
-Y axis staggered to prevent overlaps
2022-05-27 13:52:54 -04:00
ehpersonal38 7f36f09b9a Live Spectrogram Improvements 2022-05-27 13:15:24 -04:00
ehpersonal38 d86d94e64e Gain slidey 2022-05-24 14:53:50 -04:00
ehpersonal38 ddfec7222c Spectro things
Putting Spectrogram more towards the left makes sense to me, that way from left to right it's current detections -----> past detections.
2022-05-24 12:59:27 -04:00
mcguirepr89 27462d3159 you had this right the first time 2022-05-22 10:37:51 -04:00
ehpersonal38 913c0141c8 Update spectrogram.php 2022-05-22 10:20:01 -04:00
ehpersonal38 fa82f4c50d iOS Legacy Mode + Responsive Text Scaling
@mcguirepr89 Try this out on your iOS device(s) and let me know how/if it works!
2022-05-22 08:54:34 -04:00
mcguirepr89 b40267629f removed hi line - put label closer to audio signal 2022-05-21 15:45:17 -04:00
ehpersonal38 bb612d736a Update spectrogram.php 2022-05-20 14:40:29 -04:00
ehpersonal38 a2be5ed54f Update spectrogram.php
😅
2022-05-20 14:27:34 -04:00
ehpersonal38 63a74499b6 Adding detections to the spectrogram 2022-05-20 14:25:33 -04:00
mcguirepr89 b071571a8f Merge branch 'ui-tweaks' of github.com:mcguirepr89/BirdNET-Pi into ui-tweaks 2022-05-20 13:09:19 -04:00
mcguirepr89 29e88400f8 this seems like a really good balance of gain and zoom 2022-05-20 13:08:58 -04:00
ehpersonal38 182821e037 Use "Live Audio" stream in top right if running
Prevents duplicate audio sources
2022-05-20 13:08:40 -04:00
mcguirepr89 12434c195d amplifying the spectrogram -- @ehpersonal38 what do you think? 2022-05-20 12:31:05 -04:00
ehpersonal38 389abfdd01 Update spectrogram.php 2022-05-19 15:32:15 -04:00
ehpersonal38 da4a8cc4ce Live spectrogram
@mcguirepr89 I found this cool demo on codepen: https://codepen.io/jakealbaugh/pen/jvQweW

And I adapted it to use the BirdNET-Pi audio livestream. Check it out!!
2022-05-19 14:03:14 -04:00
mcguirepr89 1e81748ff4 javascript updates the image instead of reloading the page 2022-04-15 13:02:36 -04:00
mcguirepr89 f69f04d19d changes that remove the default pi user 2022-04-11 17:29:00 -04:00
mcguirepr89 023b68f386 making changes to accomodate removing the pi user 2022-04-11 10:16:54 -04:00
mcguirepr89 a8b833cd2e I like this so far 2022-02-27 10:06:33 -05:00
mcguirepr89 579d3b1e26 I like this so far 2022-02-26 14:49:57 -05:00
mcguirepr89 10090f9411 saving changes 2022-02-24 13:27:08 -05:00
mcguirepr89 cf0a3436f7 new ui 2022-02-23 22:18:35 -05:00
mcguirepr89 8d8f8759b4 spectrogram refreshes using RECORDING_LENGTH variable 2022-02-02 11:58:25 -05:00
mcguirepr89 c0d4a6de36 fills up the content page 2022-01-24 16:05:27 -05:00
Patrick McGuire 1b247fbddd adding new aesthetic changes and preparing for birdweather changes 2021-11-29 11:00:17 -05:00
Patrick McGuire 8cfe2ac8be adding images and spectrogram.php 2021-10-20 19:23:46 -04:00
Patrick McGuire 3f03f55f9b Delete spectrogram.php 2021-10-19 14:56:40 -04:00