f09045e135c6c77553548e4d05e1f0a17f354da6
canLeaveCurrentScreen() was only consulted in App's navigate() (sidebar/nav clicks); browser Back/Forward switched screens unguarded. A popstate can't be cancelled, so App's popstate handler now, on a vetoed guard, re-pushes the pre-pop path (tracked in currentPathRef, updated on every approved navigation) and leaves activeRoute untouched — undoing the browser's URL change. The same handler covers the synthetic pop navigateToPath() dispatches. Re-pushing is safe: only one screen is mounted at a time and the guard-registering screen (schedules) owns no internal popstate listener, so no sub-path screen's pathname state can desync. Effect cleanup keeps StrictMode double-mount from double-registering. Docs: spa-conventions §8 rewritten from navigate-only to describe popstate coverage. Regression: App.test.tsx dirties the schedules draft, simulates popstate → confirm called; cancel keeps route + re-pushes path; accept switches route and unmounts the draft. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Merge pull request 'feat: schedules editor full mutation depth + channel-editor gaps (#207, #212, #126)' (#229) from feat/207-212-schedules-channel-depth into main
Merge pull request 'chore(deps): update dependency entityframeworkprofiler.appender to 6.0.6053' (#132) from renovate/entityframeworkprofiler.appender-6.x into main
ErsatzTV
ErsatzTV lets you transform your media library into a personalized, live TV experience - complete with EPG, channel scheduling, and seamless streaming to all your devices. Rediscover your content, your way.
How It Works
- Install ErsatzTV: Download and set up the server on your system.
- Add Your Media: Connect your media libraries and collections.
- Create Channels: Design and schedule your own live channels.
- Stream Anywhere: Watch on any device with IPTV and EPG support.
Key Features
- Custom channels: Create and schedule your own live TV channels.
- IPTV & EPG: Stream with IPTV and Electronic Program Guide support.
- Hardware Transcoding: High-performance streaming with hardware acceleration (NVENC, QSV, VAAPI, AMF, VideoToolbox)
- Media Server Integration: Connect Plex, Jellyfin, Emby and more.
- Music & Subtitles: Mix music videos and enjoy subtitle support.
- Open Source: Free, open, and community-driven project.
Documentation
Documentation is available at ersatztv.org.
License
This project is inspired by pseudotv-plex and the dizquetv fork and is released under the zlib license.
