diff --git a/adhan-webapp/adhan_cron.py b/adhan-webapp/adhan_cron.py index 7222233..01e4fc2 100644 --- a/adhan-webapp/adhan_cron.py +++ b/adhan-webapp/adhan_cron.py @@ -1,10 +1,10 @@ import requests, json, os from datetime import datetime, date, timedelta import time +from config import SONOS_API_IP SETTINGS_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'settings.json') VUMG_API = 'https://www.vumg.nl/?rest_route=/dpt/v1/prayertime&filter=today' -SONOS_API_IP = '192.168.0.114' # IP van Raspberry Pi waar Sonos API draait LOG_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'adhan_cron.log') LAST_PLAYED_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'last_played.json') FLASK_API_URL = 'http://localhost:80' # Flask app URL