A live bird collage card for your Home Assistant dashboard.
make install independant
frederik0caea78f94b4
diff --git a/scripts/utils/helpers.py b/scripts/utils/helpers.pyindex c1e68deb..9c192ca4 100644--- a/scripts/utils/helpers.py+++ b/scripts/utils/helpers.py@@ -9,10 +9,11 @@ from itertools import chain_settings = None-DB_PATH = os.path.expanduser('~/BirdNET-Pi/scripts/birds.db')-MODEL_PATH = os.path.expanduser('~/BirdNET-Pi/model')+BASE_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))+DB_PATH = os.path.join(BASE_PATH, 'scripts/birds.db')+MODEL_PATH = os.path.join(BASE_PATH, 'model')+FONT_DIR = os.path.join(BASE_PATH, 'homepage/static')ANALYZING_NOW = os.path.expanduser('~/BirdSongs/StreamData/analyzing_now.txt')-FONT_DIR = os.path.expanduser('~/BirdNET-Pi/homepage/static')def get_font():