Skip to content

Home Assistant component to feed Upcoming Media Card with the latest releases on an Emby instance.

License

Notifications You must be signed in to change notification settings

1ntroduc3/sensor.emby_upcoming_media

 
 

Repository files navigation

Emby Upcoming Media Component

Home Assistant component to feed Upcoming Media Card with the latest releases on an Emby instance.
This component does not require, nor conflict with, the default Emby component.

If you're having issues, check out the troubleshooting guide before posting an issue or asking for help on the forums.

Installation:

  1. Install this component by copying these files to /custom_components/emby_upcoming_media/.
  2. Install the card: Upcoming Media Card
  3. Add the code to your configuration.yaml using the config options below.
  4. Add the code for the card to your lovelace configuration.
  5. You will need to restart after installation for the component to start working.
key default required description
api_key yes Your Emby API key
user_id yes The id of the user you want to impersonate. Note: this is an id, not a username. Spy on Emby API calls to retrieve yours.
(The Libraries and Medias that get retrieved depend on what that user has access to)
host localhost no The host Emby is running on.
port 8096 no The port Emby is running on.
ssl false no Whether or not to use SSL for Emby.
max 5 no Max number of items in sensor.
include no The names or the Emby Libraries you want to include. If not specified, all libraries will be shown and this component will create one sensor per Library

Do not just copy examples, please use config options above to build your own!

Sample for configuration.yaml:

sensor:
- platform: emby_upcoming_media
  api_key: YOUR_EMBY_API_KEY
  user_id: YOUR_EMBY_USER_ID
  host: 192.168.1.4
  port: 8096
  ssl: True
  max: 5
    include:
    - Movies
    - TV Shows

Sample for ui-lovelace.yaml:

- type: custom:upcoming-media-card
  entity: sensor.sensor.emby_latest_movies
  title: Latest Movies

About

Home Assistant component to feed Upcoming Media Card with the latest releases on an Emby instance.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 67.7%
  • Python 27.4%
  • Shell 3.3%
  • Dockerfile 1.6%