This commit is contained in:
Alexander Heldt
2025-11-15 22:31:29 +01:00
parent c42bf67d73
commit d50a920490
4 changed files with 34 additions and 1 deletions

View File

@@ -48,6 +48,10 @@ fn handle_message(
result.map_error(control.toggle_play_pause(state.socket), fn(r) {
echo "Could not toggle play/pause: " <> reason.to_string(r)
})
let _ =
result.map(control.get_playback_time(state.socket), fn(playback) {
echo "playback: " <> playback
})
actor.continue(state)
}
control.Exit -> {