Api Status - Playback postion

Would you be willing to add the current playback position to the status endpoint of the API?

It would be very useful to have the same info int the API as seen here in the UI
image

Which api are you referring to?

Is there another api besides Channels Support - Channels API ?

That's what I was referring to.

Is there an api for the dvr server?

I added playback_time to the API response for recordings playback.

Does this mean POST /api/playback_time/0 will set the position to the beginning? Or is this solely a read (GET) property?

It's a new property that's returned as part of /api/status. There is no way to set it.

EDIT: However, if you know the position you could seek by a negative amount to get back to zero

1 Like

POST /api/seek/-3600 could be used as a hacky way to get back to the start.

cc @_mike

1 Like

Thanks @tmm1! Already working on it! :slight_smile: