Plex - Continue movie where it left off - offset

So I tried today to use the offset parameter to start a movie where I left off. But it just sends me to the end of the movie instead of 28 min into the movie.

This is the code I tried:


action: media_player.play_media
metadata: {}
data:
  media_content_type: MOVIE
  media_content_id: |-
    {
      "library_name": "Movies",
      "title": "Venom: Last Dance",
      "offset": 1729645,
      "resume": 1
    }
target:
  entity_id: media_player.plex_plex_for_apple_tv_apple_tv


What units is this supposed to be?

Just saw that home assistant wants it in seconds, and plex reports it in millisecond - so dividing it by 1000 helped :grin:

Thought that might be the case.