Commit Graph

1798 Commits

Author SHA1 Message Date
frederik 5e18e0c803 fix: File Manager needs group read permissions 2024-02-17 12:41:44 +01:00
frederik 53633440c6 fix: when tmpfs is active, analyzing_now.txt does not exist at startup, so create it before watching 2024-02-16 10:27:16 +01:00
frederik 17ff415217 correct privacy explanation 2024-02-16 09:57:23 +01:00
frederik f9460a429d fix: priv_thresh is a percentage, not a fraction 2024-02-15 15:20:03 +01:00
frederik 090b41775f preinstalling wheel, to make sure we can build a wheel for inotify: the legacy 'setup.py install' method will be deprecated with pip 23.1 2024-02-13 18:06:57 +01:00
frederik ab8e3b1d68 add place holder stub until we figure out how to do releases 2024-02-13 18:06:57 +01:00
frederik 189ef116d0 Add ram drive support in the ui 2024-02-13 18:06:57 +01:00
frederik a4122b5bcc write transient files to tmpfs aka ram drive 2024-02-13 18:06:57 +01:00
frederik 35db8bcb3b centralise transient files 2024-02-13 18:06:57 +01:00
frederik b248ded6ed move analyzing_now.txt to StreamData to centralise transient files 2024-02-13 18:06:57 +01:00
frederik a16cb0e63a security update, not clear if it is relevant, but seems to work 2024-02-13 18:06:57 +01:00
frederik 23dfa3bb99 fix: changing advanced settings was not updating on a fresh install ed. CHANNELS, RECORDING_LENGHT, ... simplify 2024-02-13 18:06:57 +01:00
frederik 44430a1727 bookwork fix: caddy need to be able to list the home dir 2024-02-13 18:06:57 +01:00
frederik c100d19da1 bookwork fix: make php version independant 2024-02-13 18:06:57 +01:00
frederik 2a68bb2e43 bookwork fix: move php to the back so we first hit php-fpm and not pull in apache2 2024-02-13 18:06:57 +01:00
frederik 7317e0ef95 remove whl 2024-02-13 18:06:57 +01:00
frederik 5e687f9373 initial bookworm support 2024-02-13 18:06:57 +01:00
frederik 823df318b6 fix: config file was missing 2024-02-13 18:06:57 +01:00
frederik 1579e6b5bf debug 2024-02-13 18:06:57 +01:00
frederik c4a4cba8e2 fix: /etc/systemd/system/getty@tty1.service.d does not exist on Raspbian Bullseye 2024-02-13 18:06:57 +01:00
frederik 4ba13c2de8 BirdNET_GLOBAL_6K_V2.4_Model_FP16 is the default now 2024-02-13 18:06:57 +01:00
frederik eb0e54f58d fix: new detections are not shown: disable caching get_data() 2024-02-13 18:06:57 +01:00
frederik 66a3af6f9f plotly_streamlit.py: add easy profiling 2024-02-13 10:57:35 +01:00
frederik d9bb782061 bump apprise version 2024-02-13 10:57:35 +01:00
frederik a3a1bee7c6 logging server 2024-02-13 10:57:35 +01:00
frederik e20340aefa timeout 2024-02-13 10:57:35 +01:00
frederik 5379b24a7d php writes these with special characters escaped, so unescape before using 2024-02-13 10:57:35 +01:00
frederik 53b738636e configparser: strip double quotes 2024-02-13 10:57:35 +01:00
frederik 3761d945a1 use only double quotes 2024-02-13 10:57:35 +01:00
frederik 627e150e97 flake8 fixes 2024-02-13 10:57:35 +01:00
frederik 19e68b5f08 use inotifywait update snippets 2024-02-13 10:57:35 +01:00
frederik 7d416992a5 spectrum: rate limit generating spectrum 2024-02-13 10:57:35 +01:00
frederik 387d7fa700 use inotifywait 2024-02-13 10:57:35 +01:00
frederik 0df2b55036 update snippets for obsolete services 2024-02-13 10:57:35 +01:00
frederik da80128436 remove obsolete services 2024-02-13 10:57:35 +01:00
frederik 87e694ec14 update snippets for birdnet_analysis.py 2024-02-13 10:57:35 +01:00
frederik 9fa09f4558 daily_plot.py: first run of the day runs yesterday's plot 2024-02-13 10:57:35 +01:00
frederik d4055b63b9 update snippets for daily_plot 2024-02-13 10:57:35 +01:00
frederik 9b9498346a refactor daily_plot.py 2024-02-13 10:57:35 +01:00
frederik ad4e7a0876 rework analysis 2024-02-13 10:57:35 +01:00
frederik 1fa33d2444 socket is not in use anymore 2024-02-13 10:57:35 +01:00
frederik 5e590cd3bf optimize 2024-02-13 10:57:35 +01:00
frederik 1783328ebd run_analysis() created 2024-02-13 10:57:35 +01:00
frederik 3df8290e67 reshuffle code to make server.py importable 2024-02-13 10:57:35 +01:00
frederik 563ee57e19 puttings all raw wav files flat under StreamData makes things easier 2024-02-13 10:57:34 +01:00
frederik 7cad72cbe0 cleanup update snippets 2024-02-13 10:57:34 +01:00
ehpersonal38 762732c134 Merge pull request #970 from srd424/disk-check-fix
Check disk usage of filesystem hosting recordings
2023-08-12 21:07:33 -04:00
ehpersonal38 fcdc99ea42 Merge pull request #992 from srd424/upst-latlong-fix
Fix GeoIP data validation
2023-08-12 13:22:47 -04:00
Steve Dodd eb86faddcd In certain situations trying to recover from stalled analysis we can end up
with low / no disk space and be unable to "escape." In the event of a backlog,
the loop in birdnet_analysis.sh runs continuously, which means analyzed files
do not get moved, which means in turn extract_new_birdsounds.sh cannot create
mp3 extractions and move the processed files again, which would allow them to
be cleaned up by the cron jobs.

This patch is the obvious fix, i.e. to just limit the maximum amount of files
birdnet_analysis.sh can process to 20. This should be a good trade off given
the small overhead of listing files etc before the main loop begins - note that
for the "normal" case of no backlog, birdnet_analysis usually exits after a
single analysis anyway.
2023-08-11 22:33:46 +01:00
Steve Dodd 9aeee82c01 The GeoIP service doesn't always return 4 decimal places - so just
check for its own 'success' state and don't try to validate the
numbers
2023-07-28 08:21:11 +01:00