Files
romm/backend
Georges-Antoine Assi 58ec1c4aa8 feat(v2): drive rom_user status from play sessions, not launch write
Move the per-play status update (last_played, now_playing, and the
finished/empty -> incomplete rewind) off the optimistic launch-time write
and onto play-session ingest, so it reflects real play and is recorded once.

Backend: ingest now updates rom_user status when a session is the newest
play, leaving deliberate statuses (completed_100 / retired / never_playing)
untouched and skipping backfilled older sessions so they can't resurrect
now_playing.

Frontend: new usePlaySession composable records a session and ingests it on
exit; wired into Ruffle and Stream. EmulatorJS already ingests via the
embedded v1 Player, so its launch-time recordLaunch is dropped. The dead
recordLaunch / applyLaunchStatus helpers are removed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 15:56:28 -04:00
..
2026-06-21 17:42:25 -04:00
2026-02-09 17:26:21 -05:00
2026-07-20 19:04:59 -04:00
2026-07-01 08:58:00 -04:00
2026-07-19 14:46:47 -04:00
2026-07-20 08:39:34 -04:00
2024-02-10 12:43:39 -05:00
2025-07-05 19:17:40 -04:00
2026-05-17 17:39:47 -04:00
2026-07-18 18:17:45 -04:00
2026-05-22 22:35:30 -04:00