#Access media browser contents via script

1 messages · Page 1 of 1 (latest)

mellow cobalt
#

Hey 🙂 I use the Jellyfin integration and want to create an automation that starts Jellyfin on my TV and plays specific content. Is it possible to get the media_content_id of e.g. a given episode via some service? In the HA UI it's possible to browse media so I thought it might also be possible via script?

#

So my workflow would be like:

Browser content via script for a specific show (e.g. Paw Patrol) -> randomly pick the media_content_id for an episode -> trigger play_media action on given Jellyfin media client.

The alternative would be hardcoding the content_ids for all episodes.