Calculating Values

Hi, I’m sure there is probably an easy way of doing this. But I can’t find a way to achieve this. For a few items I am able to get the total track or video time and the current time elapsed, what i would like to display is a remaining time counter e.g. tack time - elapsed time.

However I can’t find anyway of doing this, am I missing something obvious?

Elapsed/track time typically isn’t something that a user will program themselves in the HRP. The Home Remote handles this automatically for devices that support the MediaPlaybackTime capability.

You should not manually add the MediaPlaybackTime capability to device objects. The Home Remote will automatically add the capability if the device supports it.

Here are the integrations that support MediaPlaybackTime:
Google Cast
HEOS
Home Assistant
Onkyo / Integra / Pioneer
Sonos
UPnP Media Renderers