summaryrefslogtreecommitdiff
path: root/web/js/tests
AgeCommit message (Collapse)Author
2026-05-17Restructure repo: move Go server into player-server/Paul Buetow
2026-05-17Add in-progress frontend actionsPaul Buetow
2026-05-09s1 keep scan indicator above admin modalPaul Buetow
2026-05-09s1 keep scan progress visiblePaul Buetow
2026-05-09s1 add media rescan hotkey and progress indicatorPaul Buetow
2026-05-09Fix media Enter key handling (o1)Paul Buetow
2026-05-09Address shuffle reshuffle review notes (q1)Paul Buetow
2026-05-09Fix shuffle hotkey reshuffle behavior (q1)Paul Buetow
2026-05-09Refine media browsing and set coversPaul Buetow
2026-05-07Fix podcast episode pagination arguments (p0)Paul Buetow
2026-04-30Wire playback resume end to end (task ka)Paul Buetow
- Add JSON tags to model structs so API responses use camelCase keys (e.g., id, file_name, position_seconds). - MediaDetail now includes progress; add ResumeFrom() helper on MediaDetail. - Frontend playSelected() fetches /api/media/:id and reads progress.position_seconds before starting playback, then passes resume position to selectAndPlay(). - player.js selectAndPlay/loadMedia accept resumeFrom parameter instead of reading media.resume_from from list items. - Backend test coverage: handlers_test verifies detail endpoint returns progress position in JSON; media_test verifies GetMediaDetail includes progress and ResumeFrom() value. - Frontend test coverage: added web/js/tests/playback-resume.test.js validating detail JSON shape, resume position computation, and list item contract.