- 20 Feb, 2026 9 commits
-
-
Stefy Lanza (nextime / spora ) authored
- Use timezone-aware date filtering (get_today_venue_date, venue_to_utc_datetime) - Query today's matches and yesterday's incomplete matches - Exclude terminal states (done, end, cancelled, failed, paused) - Limit to 5 matches total, same as Qt player - Add debug logging for match counts
-
Stefy Lanza (nextime / spora ) authored
- Add detailed logging to getFixtureData and getCompletedMatches - Log fixture data sample when received - Remove origin check in onIframeMessage for debugging - Add logging to sendMessageToOverlay
-
Stefy Lanza (nextime / spora ) authored
- Add inline environment detection to all overlay templates - Qt environment: Load Qt scripts (qwebchannel.js, overlay.js) synchronously - Web environment: Load web adapter for postMessage bridge - Update overlay-web-adapter.js to exit early in Qt environment - Fixes issue where overlay templates didn't show data in web player
-
Stefy Lanza (nextime / spora ) authored
- In Qt environment, use document.write to load Qt scripts synchronously - This ensures QWebChannel and overlay.js are available before template's inline scripts run - Async loading was causing templates to fail because overlay object wasn't ready
-
Stefy Lanza (nextime / spora ) authored
- In Qt environment, provide temporary window.overlay with log function - This prevents errors from template's console.log override that runs immediately - Qt's overlay.js will later replace this with the full overlay object
-
Stefy Lanza (nextime / spora ) authored
- Store original console.log before templates override it - Use originalConsoleLog throughout the adapter to prevent recursion - Templates override console.log to call window.overlay.log, which was calling console.log again
-
Stefy Lanza (nextime / spora ) authored
- Removed copied overlay-web-adapter.js from web/ - Created web/js symlink pointing to mbetterclient/web_dashboard/static/js - Ensures templates reference the same file at /js/overlay-web-adapter.js
-
Stefy Lanza (nextime / spora ) authored
- Created overlay-web-adapter.js to bridge postMessage to WebChannel interface - Updated all web templates to use conditional Qt script loading - Updated all Qt player templates with same pattern for consistency - Prevents browser console errors from Qt URL schemes (qrc:///, overlay://) - Templates now work in both Qt player and web player environments
-
Stefy Lanza (nextime / spora ) authored
-
- 19 Feb, 2026 1 commit
-
-
Stefy Lanza (nextime / spora ) authored
-