mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Processed_Buffer
This commit is contained in:
@@ -81,7 +81,12 @@ if ! grep -q "Converted" "$HOME"/BirdNET-Pi/homepage/views.php; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable the Processed folder
|
# Enable the Processed folder
|
||||||
echo "... Enabling the Processed folder : the last 15 wav files will be stored there"
|
if ! grep -q "Processed_Files" "$HOME"/BirdNET-Pi/scripts/birdnet_analysis.py; then
|
||||||
"$PYTHON_VIRTUAL_ENV" /helpers/addition_processed.py
|
echo "... Enabling the Processed folder : the last 15 wav files will be stored there"
|
||||||
|
rm /home/admin/BirdNET-Pi/scripts/birdnet_analysis.py
|
||||||
|
curl -o /home/admin/BirdNET-Pi/scripts/overview.php https://raw.githubusercontent.com/alexbelgium/BirdNET-Pi/patch-1_processed_restore/scripts/birdnet_analysis.py
|
||||||
|
chown "$USER:$USER" /home/admin/BirdNET-Pi/scripts/birdnet_analysis.py
|
||||||
|
chmod 777 /home/admin/BirdNET-Pi/scripts/birdnet_analysis.py
|
||||||
|
fi
|
||||||
|
|
||||||
echo " "
|
echo " "
|
||||||
|
|||||||
Reference in New Issue
Block a user