450
submitted 2 years ago* (last edited 2 years ago) by savjee@lemmy.world to c/homeassistant@lemmy.world

you are viewing a single comment's thread
view the rest of the comments
[-] savjee@lemmy.world 12 points 2 years ago

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

[-] dom@lemmy.ca 3 points 2 years 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

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

homeassistant

15571 readers
15 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.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 2 years ago
MODERATORS