Commit Graph
2 Commits
Author SHA1 Message Date
Hermes (Server)andClaude Haiku 4.5 7478beeb11 fix(test): remove unused material import in sleep_timer_test
Pre-commit analyze gate requires zero issues; this pre-existing
warning was blocking the schema commit.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-18 15:14:00 +02:00
Dustin-Mike Jens HähnelandClaude Opus 4.8 51c2229148 Add sleep timer feature
Timer stops playback (pause) after 5/10/15/30/60 min. Wall-clock
deadline is self-correcting against OS throttling; 1Hz tick drives
the countdown UI. Cancelled in stop() so no timer resurrects a paused
player after teardown.

- sleep_timer.dart: isolated time logic, injectable clock for testing
- audio_handler.dart: sleepTimer field + cancel() in stop()
- now_playing_screen.dart: AppBar button + bottom sheet
- 10 unit tests via mocked clock

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-16 20:06:08 +02:00