James Magahern 6110f712bd Fix WebSocket reconnection after app backgrounding
- Add scenePhase monitoring to ContentView to detect app lifecycle changes
- Implement handleScenePhaseChange() to force WebSocket reconnection and full UI refresh when app returns to foreground from background
- Update error handling in watchWebsocket() to suppress UI errors for backgrounding (error code 53) while still triggering reconnection
- Simplify API.notifyError() to always report errors, letting UI layer decide what to display

This fixes the issue where WebSocket connections would permanently disconnect after extended backgrounding, as iOS terminates background network connections after ~30 seconds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 11:42:13 -07:00
2025-10-05 18:23:16 -07:00
2025-06-11 12:12:53 -07:00
Description
A simple web interface for remotely controlling an MPV instance
1.2 MiB
Languages
TypeScript 47.6%
Swift 46%
Nix 4.1%
Shell 0.7%
Dockerfile 0.5%
Other 1.1%