* Updated daily chart to use the theme selector
* Added sleep after changing theme so the chart can update
* Added code for pink theme, made it easier to add more themes in the future
* Added blue chart for future blue theme
* Set chart background to none so it's transparent
* Added back background for dark mode.
* Change daily chart based on file based settings. Only support light/dark mode.
* Cleanup
* Added borders around the bars on the bar chart
* Updated background color for dark theme
* Merge from main
* Fixed some spacing
* Updating Python version for linting
* Cleanup
* Back leveled to Python 3.9
* Update scripts/daily_plot.py
Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
* Coding suggestions
---------
Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
* New disk usage settings
* Use sudo for rm, just in case
* Remove set -x
* Correct code for png
* Correct today
* Correct dates
* Accepts date format of different distributions
* Avoid message
* Very significant processing time optimisation
* Update disk_species_clean.sh
* Avoid locking database
* Update disk_species_clean.sh
* Disable set -x (again)
* Add number of remaining files
* Add new variables to update_birdnet_snippets.sh
* Consolidate disk management elements
* Update disk_species_clean.sh
* Update disk_species_clean.sh
* Protect last 7 days
* Add options to advanced.php, in same style
* Remove from config
* Update config.php
* Reset max_disk_usage to hard 95
* Improve layout
* Remove automatic addition of MAX_FILE_SPECIES if not defined https://github.com/alexbelgium/hassio-addons/issues/1458
* Cosmetic white-listed changed to whitelist
* Add comma in text
* Update scripts/advanced.php
Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
* Update crontab if less than 5 #birdnet occurence (= all scripts not installed)
* Made .sh file executable
* Remove unused field k5 (second field of year) ; add explanations
* Call functions without ()
* Uninstall current cron before reinstalling them
* Update update_birdnet_snippets.sh
* Use $HOME instead of $mydir
---------
Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
* Create dark-style.css
* Add call to get_color_scheme
* Add call to get_color_scheme
* Create get_color_scheme function
* Add selection box in config.php
* Accept both lower and uppercase COLOR_SCHEME
* Add COLOR_SCHEME
* Add COLOR_SCHEME
* Change birdnet.conf after color scheme selection
* Move css to static to enable it
* Adapt css location to static
* Improve opacity value
* Fix logo background issues on smaller screens
* Avoid overlap of logos
* Ensure clean look (same margin as before but different location)
* Default background as transparent to avoid white on white
* Avoid black on dark ; improve readability
* Last element of green is homogenized to grayscale
* Enable site reload after color_scheme change
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