Home Assistant component to feed Upcoming Media Card with
Plex's recently added media.
This component does not require, nor conflict with, the default Plex components.
- Added support for Plex 'deep_links' in sensor attributes (Direct URLs to each TV Episode & Movie on Plex Web).
- Added support for 'season_num' & 'episode_num' in sensor attributes for TV Episodes.
### Issues Read through these two resources before posting issues to GitHub or the forums. * [troubleshooting guide](https://github.com/custom-cards/upcoming-media-card/blob/master/troubleshooting.md) * [@thomasloven's lovelace guide](https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins).
- Install this component by copying these files to
custom_components/plex_recently_added/
. - Install the card: Upcoming Media Card
- Add the code for the card to your
ui-lovelace.yaml
. - You will need to restart after installation for the component to start working.
To add the Plex Recently added integration to your Home Assistant, use this My button:
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the Add Integration button.
-
From the list, select Plex Recently added.
-
Follow the instructions on screen to complete the setup.
The number of items in sensor, library types, libraries in general, excluded words and show "on deck" options can be changed later.
Do not just copy examples, please use config options above to build your own!
This is because the integration uses the Plex token as a part of its unique_id so it does not colide with other instances of the same integration
This is very simple, when you go to the 'Settings/Devices & services/Plex Recently Added' you will see your instance of the Plex Recently Added integration and on the right side you will see Configure button, when you press it you can change all necessary config you might need to change and click submit, the instance then should restart and show new values basen on your new settings.
(If you want to change Plex address, token or sensors prefix name you will need to readd the integration with your new parameters)
The sensor you most likely mean is the merged sensor which shows all the data (also sorted) that are in the other sensors, meaning if you've set your man number if values to 7 and you've got 3 section types (movie, show, artist) the total number of items in the merged sensor will be 21 (7 (for max) * 3 (for section types))
This may be caused by incorrectly set Libraries to consider you can change them in Config where if you've configured your Plex token and address right will now show all libraries in dropdown selection.
key | default | example |
---|---|---|
title | $title | "The Walking Dead" |
line1 | $episode | "What Comes After" |
line2 | $day, $date $time | "Monday, 10/31 10:00 PM" Displays time of download. |
line3 | $number - $rating - $runtime | "S01E12 - ★ 9.8 - 01:30" |
line4 | $genres | "Action, Adventure, Comedy" |
icon | mdi:eye-off | https://materialdesignicons.com/icon/eye-off |