nkm8 / sensor.emby_upcoming_media

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Emby Latest Media Component

hacs_badge

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.
use_backdrop false no Defines whether to use the Backdrop Image, instead of the poster. (Great for using with the fanart display mode)
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
  use_backdrop: true
  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.

License:MIT License


Languages

Language:JavaScript 58.9%Language:Python 36.9%Language:Shell 2.8%Language:Dockerfile 1.4%