bitfocus / companion-module-stagetimerio-api

MIT License
2 stars 3 forks source link

Missing command: stagetimer: Timer: Reset #14

Closed Suenee closed 4 months ago

Suenee commented 4 months ago

I am looking for a command to reset the time period according to the Index or TimerId. The same function could solve #11. If I do not enter a number, the current segment will be reset.

lhermann commented 4 months ago

I looked into it. Instead of making the index optional, I'll add a "Transport: Reset" action that just resets the current time with an autostart option.

Suenee commented 4 months ago

Good idea, thank you

lhermann commented 4 months ago

The new API enpoint /reset and companion module action Transport: Reset fix this problem. It resets the current timer (optionally autostarts it) without ever moving to the previous timer.