this post was submitted on 18 Nov 2023
451 points (98.9% liked)

homeassistant

12134 readers
7 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 2 years ago
MODERATORS
451
submitted 1 year ago* (last edited 1 year ago) by savjee to c/homeassistant
 

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 year ago (2 children)

Does it resume from the last time they watched? Does it work with TV shows too and track which episode they are on?

[–] savjee 12 points 1 year ago (1 children)

The Plex deep links will automatically resume. TV shows are tricky. For that, I use the Plex integration of Home Assistant to play a random episode. It's supposed to be super powerful, but I haven't got it to work reliably yet (which is why I didn't focus on TV Shows in the blog post).

service: media_player.play_media
data:
  media_content_type: EPISODE
  media_content_id: |-
    { 
      "library_name" : "TV shows",
      "show_name": "SHOW NAME HERE",
      "shuffle": 1,
      "maxresults": 1
    }
  enqueue: replace
target:
  entity_id: media_player.plex_plex_for_apple_tv_apple_tv

[–] [email protected] 3 points 1 year ago

Thank you, this gives me enough to start and play with.

My kiddo doesn't really care too much about movies but loves TV shows. Maybe I solve it with a script if I can't get the native plex link to work

This is going to be a good winter project for me

[–] [email protected] 6 points 1 year ago (2 children)

And I'm wondering if these could be adjusted to have the card be "inserted" and turn off when the card is removed?

I have some nfc tags sitting around but they are much thicker. Maybe I can 3d print something those tags can click into and make like a mini vhs player for them

[–] [email protected] 4 points 1 year ago

For audiobook that has been done: https://us.tonies.com/ The moment you lift the figure it stops playing and will resume, when you put it back. Nice concept for little kids and it went really well here in Germany. You will find a Toni box in most middle/upper class households. They are magnetic.