jimz011 / sensor.radarr_upcoming_media

🎬 Radarr component to feed Upcoming Media Card.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Radarr Upcoming Media Component

Home Assistant component to feed Upcoming Media Card with Radarr's upcoming added media.
This component does not require, nor conflict with, the default Radarr component.

Issues

Read through these two resources before posting issues to GitHub or the forums.

Supporting Development



This product uses the TMDb API but is not endorsed or certified by TMDb.

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/radarr_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 ui-lovelace.yaml.
  5. You will need to restart after installation for the component to start working.

Options

key default required description
api_key yes Your Radarr API key
host localhost no The host Radarr is running on.
port 7878 no The port Radarr is running on.
urlbase / no The base URL Radarr is running under.
days 60 no How many days to look ahead for the upcoming sensor.
ssl false no Whether or not to use SSL for Radarr.
theaters true no Show or hide theater releases.
max 5 no Max number of items in sensor.

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

Sample for configuration.yaml:

sensor:
  - platform: radarr_upcoming_media
    api_key: YOUR_API_KEY
    host: 127.0.0.1
    port: 7878
    days: 14
    ssl: false
    theaters: false
    max: 10

Sample for ui-lovelace.yaml:

- type: custom:upcoming-media-card
  entity: sensor.radarr_upcoming_media
  title: Upcoming Movies

Card Content Defaults

key default example
title $title "Night of the Living Dead"
line1 $release "In Theaters Mon, 10/31" if it's a theater release and more than a week away or "Available Monday" if it's a physical release and within a week.
line2 $genres "Action, Adventure, Comedy"
line3 $rating - $runtime "β˜… 9.8 - 01:30"
line4 $studio "Laurel Group Inc."
icon mdi:arrow-down-bold https://materialdesignicons.com/icon/arrow-down-bold

About

🎬 Radarr component to feed Upcoming Media Card.

License:Apache License 2.0


Languages

Language:Python 100.0%