Commit Graph

2021 Commits

Author SHA1 Message Date
frederik dae0ba992f stimeout changed to timeout between ffmpeg 4 and 5 2025-01-25 18:01:45 +01:00
frederik 3f66bf9f13 fix: rtsp needs a different socket timeout parameter that all other protocols 2025-01-25 18:01:45 +01:00
frederik a7eacee3fc on flakey rtsp streams, ffmpeg sometimes gets stuck, add a 10s timeout to make ffmeg error out and restart 2025-01-25 18:01:45 +01:00
frederik ea7cdd6686 be a bit more patient so ffmpeg can restart 2025-01-25 18:01:45 +01:00
Christopher Leinbach 23f52ae673 Add Purge Threshold
Adds a purge threshold setting. This setting allows the user to
control at what filled percentage the purge activities are run.
This replaces the default, hard coded 95% point.

The purge threshold defaults at the original 95%. I set a minimum
of 20 and max of 99 because those values felt sensible but am open
to changing those based on feedback.

Note: The purge threshold is still active when the keep option is
set. I added a note for this but this still presents some risk
where users who change this while in Keep mode could have their
services shut down earlier than they expect.

Patch: Fix a couple of typos in initial changes and improve
formatting.
2025-01-25 17:40:29 +01:00
Christopher Leinbach bdc5802816 Add Purge Threshold
Adds a purge threshold setting. This setting allows the user to
control at what filled percentage the purge activities are run.
This replaces the default, hard coded 95% point.

The purge threshold defaults at the original 95%. I set a minimum
of 20 and max of 99 because those values felt sensible but am open
to changing those based on feedback.

Note: The purge threshold is still active when the keep option is
set. I added a note for this but this still presents some risk
where users who change this while in Keep mode could have their
services shut down earlier than they expect.
2025-01-25 17:40:29 +01:00
frederik 0ed3fbb47a fix: do not clobber the link 2025-01-25 14:46:29 +01:00
frederik 05268f19bd Merge branch 'fix-backup' 2025-01-25 13:35:36 +01:00
frederik 9e64d77f0e fix: update caddyfile after restore 2025-01-25 13:17:30 +01:00
Alexandre 29a242d053 Lowercase is nicer 2025-01-25 12:02:00 +01:00
Alexandre 559d1fe40e Ensure correct daily count 2025-01-25 12:02:00 +01:00
Alexandre f231f5e9dc Dynamic layout vs screen size 2025-01-25 12:02:00 +01:00
Alexandre aede3cc8b7 Add RARE_SPECIES_THRESHOLD 2025-01-25 12:02:00 +01:00
Alexandre f9d166d4f0 Set custom duration for minigraphs 2025-01-25 12:02:00 +01:00
Alexandre 4680b7258e Custom duration for minigraphs 2025-01-25 12:02:00 +01:00
Alexandre f93b448b7f Add table for new and rare species 2025-01-25 12:02:00 +01:00
Alexandre 5c8d30797e Add RARE_SPECIES_THRESHOLD 2025-01-25 12:02:00 +01:00
Alexandre dfd6199b1c Add RARE_SPECIES_THRESHOLD 2025-01-25 12:02:00 +01:00
frederik 7fe9a6fe3a make diagnosing recording issues easier: add the recording service log to the birdnet log 2025-01-03 11:22:10 +01:00
frederik 430c5f1e98 make the message a bit more helpfull 2024-12-04 21:52:29 +01:00
frederik bd93b1c0a5 allow getting http://ip-api.com/json to fail 2024-12-04 18:49:52 +01:00
frederik 6d0c607e78 cleanup: propery close <pre> tag 2024-12-03 19:10:03 +01:00
frederik 57c0d5b208 enable tmp.mount: Raspberry Pi OS and Debian don't have tmpfs mounted on /tmp. So during restore every uploaded chunk would still end up on the SD card before it is un-tar-ed 2024-12-03 19:10:03 +01:00
frederik 1c43dfc6cd add restore to views and system_controls 2024-12-03 19:10:03 +01:00
frederik 0cdde2fd93 add restore.php 2024-12-03 19:10:03 +01:00
frederik 50b31d9acb add helper to reassemble chunks 2024-12-03 19:10:03 +01:00
frederik 1dd6fe7f14 add STDIN support to backup script 2024-12-03 19:10:03 +01:00
frederik 59e00e6dd6 cleanup: we dont need this anymore 2024-12-03 19:10:03 +01:00
frederik ff31225634 restart services when script gets cancelled 2024-12-03 19:10:03 +01:00
frederik cb8abd4f22 add downloadable backup 2024-12-03 19:10:03 +01:00
Ash McKenzie ef86658b6b $_SERVER['PHP_AUTH_PW'] isn't always sent 2024-12-01 09:33:35 +01:00
Jon Gelsey 0faf2db6a2 add rtsp ID to extracted birdsong file name 2024-11-30 18:25:57 +01:00
Alexandre abcbcb6018 Update scripts/todays_detections.php
Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2024-11-25 20:37:43 +01:00
Alexandre 5c62ad6ebb Update scripts/todays_detections.php
Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2024-11-25 20:37:43 +01:00
Alexandre dfd09095a8 Update scripts/overview.php
Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2024-11-25 20:37:43 +01:00
Alexandre 535444f752 Ensure ' used for minigraphs 2024-11-25 20:37:43 +01:00
Thibaut Voirand 3bc2c63a1f Use detection time instead of origin audio file time in DB 2024-11-20 22:24:26 +01:00
frederik 7bac0d7ebe fix: chart might not exist yet at initial page load 2024-11-16 20:50:15 +01:00
frederik d93a4fdd83 system was always updating, wether the user clicked cancel or not 2024-11-16 20:38:58 +01:00
Alexandre 5257f326fa Values in k above 1000 2024-11-09 17:09:22 +01:00
Alexandre 5b6016fdb1 Show as k if > 1000 2024-11-09 17:09:22 +01:00
Alexandre b451af0260 Add occurences Count to best recordings 2024-11-09 17:09:22 +01:00
Alexandre e15229dbed Add counts to sort by occurrence 2024-11-09 17:09:22 +01:00
Alexandre 071f60a04e More compact code 2024-11-09 16:59:23 +01:00
Alexandre c39fc1d195 Fix maxconf color scale 2024-11-09 16:59:23 +01:00
frederik dc634838ae Revert "fix: make sure we look for the correct gotty executable name"
This reverts commit ee9aeb6d62.
2024-11-03 11:05:51 +01:00
frederik ccaa2475c9 fix: reload detections immediately when page becomes visible again 2024-11-03 10:45:35 +01:00
frederik 3433f4cffe cleanup: remove unused scripts 2024-11-03 10:45:30 +01:00
Alexandre 0cb609a69f Update stats.php 2024-11-01 14:59:59 +01:00
Brian Dembinski 62e98ade0b Added sort by max confidence to Best Recordings page 2024-11-01 14:59:59 +01:00