diff --git a/aurora-livecam/api/auto-screenshot.php b/aurora-livecam/api/auto-screenshot.php index 406a399..c9eda8c 100644 --- a/aurora-livecam/api/auto-screenshot.php +++ b/aurora-livecam/api/auto-screenshot.php @@ -3,7 +3,7 @@ * Auto-Screenshot API * * Kann als Cron-Job aufgerufen werden: - * */10 * * * * curl -s http://localhost/api/auto-screenshot.php?key=YOUR_SECRET_KEY + * Beispiel: 0,10,20,30,40,50 * * * * curl -s http://localhost/api/auto-screenshot.php?key=YOUR_SECRET_KEY * * Oder via Webhook/Timer */ diff --git a/aurora-livecam/index.php b/aurora-livecam/index.php index 429baf4..6b5dcc6 100644 --- a/aurora-livecam/index.php +++ b/aurora-livecam/index.php @@ -3444,7 +3444,7 @@ const VideoSearch = { resultsDiv.style.display = 'block'; contentDiv.innerHTML = '
🔄
Suche läuft...
'; - fetch('/api/video-search.php?' + params.toString()) + fetch('api/video-search.php?' + params.toString()) .then(r => r.json()) .then(data => { if (data.success) { @@ -3602,7 +3602,7 @@ const ShareModal = { resultDiv.innerHTML = '
🔄 Wird gesendet...
'; resultDiv.style.display = 'block'; - fetch('/api/share.php', { + fetch('api/share.php', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ path, type, email, message, sender_name: senderName }) diff --git a/aurora-livecam/settings.json b/aurora-livecam/settings.json index d731a77..805d1f3 100644 --- a/aurora-livecam/settings.json +++ b/aurora-livecam/settings.json @@ -25,7 +25,18 @@ "zoom_timelapse": { "show_zoom_controls": true, "max_zoom_level": 4.0, - "timelapse_reverse_enabled": true + "timelapse_reverse_enabled": true, + "weekly_timelapse_enabled": true + }, + "auto_screenshot": { + "enabled": false, + "interval_minutes": 10, + "max_images": 144, + "save_to_gallery": true + }, + "sharing": { + "email_enabled": false, + "share_link_expiry_hours": 24 }, "content": { "guestbook_enabled": true,