Update 72-newfeatures.sh

This commit is contained in:
Alexandre
2024-05-16 21:15:31 +02:00
committed by GitHub
parent 2b979cec24
commit dec9b471f9

View File

@@ -65,3 +65,5 @@ sed -i "|exclude_species_list.txt|a\ CONVERT_DICT = {row.split(';')[0]: row.s
sed -i "|exclude_species_list.txt|a\ CONVERT_LIST = loadCustomSpeciesList(os.path.expanduser(\"~/BirdNET-Pi/convert_species_list.txt\"))" "$HOME"/BirdNET-Pi/scripts/server.py
sed -i "|for entry in entries:|a\ if entry[0] in CONVERT_LIST:" "$HOME"/BirdNET-Pi/scripts/server.py
sed -i "|for entry in entries:|a\ entry[0] = CONVERT_LIST[entry[0]]" "$HOME"/BirdNET-Pi/scripts/server.py
echo " "