diff --git a/data/aniworld.db-shm b/data/aniworld.db-shm index 22a2e95..28bdbff 100644 Binary files a/data/aniworld.db-shm and b/data/aniworld.db-shm differ diff --git a/data/aniworld.db-wal b/data/aniworld.db-wal index 8da8378..88239f6 100644 Binary files a/data/aniworld.db-wal and b/data/aniworld.db-wal differ diff --git a/data/config.json b/data/config.json index c18efb5..af93580 100644 --- a/data/config.json +++ b/data/config.json @@ -17,8 +17,7 @@ "keep_days": 30 }, "other": { - "master_password_hash": "$pbkdf2-sha256$29000$vrf2npNSKqVU6r137t27tw$XkJLRylHf84bQFQtXUKVSY7QsaMV1Z1Wgh41H3girGc", - "anime_directory": "/mnt/server/serien/Serien/" + "master_password_hash": "$pbkdf2-sha256$29000$PgeglJJSytlbqxUipJSylg$E.0KcXCc0.9cYnBCrNeVmZULQnvx2rgNLOFZjYyTiuA" }, "version": "1.0.0" } \ No newline at end of file diff --git a/data/config_backups/config_backup_20251224_212619.json b/data/config_backups/config_backup_20251224_213449.json similarity index 67% rename from data/config_backups/config_backup_20251224_212619.json rename to data/config_backups/config_backup_20251224_213449.json index 584ba1e..a7ff8d9 100644 --- a/data/config_backups/config_backup_20251224_212619.json +++ b/data/config_backups/config_backup_20251224_213449.json @@ -17,8 +17,7 @@ "keep_days": 30 }, "other": { - "master_password_hash": "$pbkdf2-sha256$29000$tpaSEqI0BmCMsbb2HgOA0A$zF52br5qvqyA2ciQlDt7.Cdny2d2qaq1BPqNEntoMeY", - "anime_directory": "/mnt/server/serien/Serien/" + "master_password_hash": "$pbkdf2-sha256$29000$4tyb09q7F.I8JwSgtPYe4w$MpmQLy0b1tYvjqNwwbHy4b59AxtjZdQ8eqrYlbrwmO4" }, "version": "1.0.0" } \ No newline at end of file diff --git a/data/config_backups/config_backup_20251224_213458.json b/data/config_backups/config_backup_20251224_213458.json new file mode 100644 index 0000000..e265d49 --- /dev/null +++ b/data/config_backups/config_backup_20251224_213458.json @@ -0,0 +1,23 @@ +{ + "name": "Aniworld", + "data_dir": "data", + "scheduler": { + "enabled": true, + "interval_minutes": 60 + }, + "logging": { + "level": "INFO", + "file": null, + "max_bytes": null, + "backup_count": 3 + }, + "backup": { + "enabled": false, + "path": "data/backups", + "keep_days": 30 + }, + "other": { + "master_password_hash": "$pbkdf2-sha256$29000$vBdCKMUYA.Dc.7.3NqbUGg$2GOV4HuUcrl8Dolk3bzmXsOqG/xC/rCmzd1G2lIWtog" + }, + "version": "1.0.0" +} \ No newline at end of file diff --git a/src/server/web/static/js/app.js b/src/server/web/static/js/app.js index f3748c5..c3dae26 100644 --- a/src/server/web/static/js/app.js +++ b/src/server/web/static/js/app.js @@ -26,6 +26,8 @@ class AniWorldApp { this.loadSeries(); this.initTheme(); this.updateConnectionStatus(); + // Check scan status on page load (in case socket connect event is delayed) + this.checkActiveScanStatus(); } async checkAuthentication() { @@ -418,9 +420,14 @@ class AniWorldApp { }); // Click on rescan status indicator to reopen scan overlay - document.getElementById('rescan-status').addEventListener('click', () => { - this.reopenScanOverlay(); - }); + const rescanStatus = document.getElementById('rescan-status'); + if (rescanStatus) { + rescanStatus.addEventListener('click', (e) => { + e.stopPropagation(); + console.log('Rescan status clicked'); + this.reopenScanOverlay(); + }); + } // Configuration modal document.getElementById('config-btn').addEventListener('click', () => {