Skip to content
Kodi component to feed the Upcoming Media Card for Home Assistant.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
custom_components/kodi_recently_added Fix artwork url's that have a nfs/local path. Jul 4, 2019
.gitignore
CHANGELOG.md
LICENSE
README.md
example.png
info.md
resources.json

README.md

Kodi Recently Added Component

hacs_badge

Home Assistant component to feed Upcoming Media Card with Kodi's recently added media.

Kodi Recently Added Media

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

HACS Installation

  1. Search for Kodi Recently Added Component in the HACS Store tab.
  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 ui-lovelace.yaml.
  5. You will need to restart after installation for the component to start working.

Manual Installation:

  1. Install this component by copying sensor.py to your /custom_components/kodi_recently_added/ folder.
  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 ui-lovelace.yaml.
  5. You will need to restart after installation for the component to start working.

Platform Options:

key default required description
host localhost no The host Kodi is running on.
port 8080 no The port Kodi is running on.
tcp_port 9090 no The TCP port number. Used for WebSocket connections to Kodi.
username no The Kodi HTTP username.
password no The Kodi HTTP password.

Sample for configuration.yaml:

sensor:
- platform: kodi_recently_added
  username: YOUR_KODI_USERNAME
  host: YOUR_KODI_HOST
  password: YOUR_KODI_PASSWORD
  port: YOUR_KODI_PORT

Sample for ui-lovelace.yaml:

- type: custom:upcoming-media-card
  entity: sensor.kodi_recently_added_tv
  title: Recently Added Episodes
  image_style: fanart

- type: custom:upcoming-media-card
  entity: sensor.kodi_recently_added_movies
  title: Recently Added Movies
  image_style: fanart

NOTE: Currently genres, rating, and studio only work for Movies.

You can’t perform that action at this time.