Commit Graph

2 Commits

Author SHA1 Message Date
Glenn Thompson ca07b6e670 Fix player page now playing updates and spectrum analyzer MUTED indicator
- Execute scripts after AJAX navigation to enable dynamic content updates
- Fix spectrum analyzer audio element reference across navigation
- Stop and restart spectrum analyzer when re-initializing after AJAX load
- Find audio element in parent frame for frameset mode
- Clear all intervals/timeouts before navigation to prevent errors
- Add status-content.ctml placeholder page
- Remove debug logging from spectrum analyzer

Fixes:
- Now playing panel updates on player page after navigation
- MUTED indicator appears correctly across all pages
- No console errors from abandoned intervals
- Clean resource cleanup on page transitions
2025-12-07 08:21:00 +03:00
Glenn Thompson 3a8827f442 Fix #57: Implement frameset-aware login/logout flow with AJAX navigation
- Add frameset-aware content pages: login-content, admin-content, profile-content
- Implement AJAX navigation to prevent audio interruption during page transitions
- Add handleLogout() function to logout without breaking frameset
- Update login form to submit via AJAX and follow redirects
- Add audio keep-alive protection with 500ms interval check
- Update logout handler to detect frameset mode and redirect appropriately
- Add .gitignore entry for generated asteroid.css

The persistent audio player now continues playing through:
- Login page loading
- Login form submission
- Redirect to admin/profile pages
- Navigation within admin/profile
- Logout process

All navigation within frameset mode now uses fetch() to load content
without actual page navigation, keeping the audio player frame untouched.
2025-12-06 21:11:57 +03:00