You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- rewriten to work with config flow
- added support for multiple instances
- added name parameter which is used for instance name and id (the unique id is generated from apikey)
- removed necessity to download images (also because of that removed "img_dir", "image_resolution", "download_images")
- removed "ssl_cert" because it was just bypass for ssl
- rewrited data parsing to work with xml instead of json
Copy file name to clipboardExpand all lines: README.md
+25-27Lines changed: 25 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,33 +17,31 @@ Read through these two resources before posting issues to GitHub or the forums.
17
17
## Installation:
18
18
1. Install this component by copying [these files](https://github.com/custom-components/sensor.plex_recently_added/tree/master/custom_components/plex_recently_added) to `custom_components/plex_recently_added/`.
19
19
2. Install the card: [Upcoming Media Card](https://github.com/custom-cards/upcoming-media-card)
20
-
3. Add the code to your `configuration.yaml` using the config options below.
21
-
4. Add the code for the card to your `ui-lovelace.yaml`.
22
-
5.**You will need to restart after installation for the component to start working.**
| name | Plex_Recently_Added | no | Name of the sensor. Useful to make multiple sensors with different libraries. |
29
-
| token || yes | Your Plex token [(Find your Plex token)](https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/)|
30
-
| host | localhost | yes | The host Plex is running on. |
31
-
| port | 32400 | yes | The port Plex is running on. |
32
-
| ssl | false | no | Set to true if you use SSL to access Plex. |
33
-
| max | 5 | no | Max number of items to show in sensor. |
34
-
| on_deck | False | no | Set to true to show "on deck" items. |
35
-
| download_images | true | no | Setting this to false will turn off downloading of images, but will require certain Plex settings to work. See below. |
36
-
| img_dir | '/upcoming-media-card-images/plex/' | no | This option allows you to choose a custom directory to store images in if you enable download_images. Directory must start and end with a `/`. |
37
-
| ssl_cert | false | no | If you provide your own SSL certificate in Plex's network settings set this to true. |
38
-
| section_types | movie, show | no | Allows you to specify which section types to consider [movie, show]. |
39
-
| image_resolution | 200 | no | Allows you to change the resolution of the generated images (in px), useful to display higher quality images as a background somewhere. |
40
-
| exclude_keywords || no | Allows you to specify a list of keywords to be exclude from the sensor if in the title. |
41
-
42
-
#### By default this addon automatically downloads images from Plex to your /www/custom-lovelace/upcoming-media-card/ directory. The directory is automatically created & only images reported in the upcoming list are downloaded. Images are small in size and are removed automatically when no longer needed. Currently & unfortunately, this may not work on all systems.
43
-
44
-
#### If you prefer to not download the images you may set download_images to false, but you either have to set "Secure connections" to "preferred" or "disabled" (no SSL) or have a custom certificate set (these options are found in your Plex server's network settings). This is needed because the default SSL certificate supplied by Plex is for their own domain and not for your Plex server. Your server also needs to be "fully accessible outside your network" if you wish to be able to see images remotely. If your Plex server provides it's own certificate you only need to set ssl_cert to true and download_images to false.
45
-
46
-
</br></br>
20
+
3. Add the code for the card to your `ui-lovelace.yaml`.
21
+
4.**You will need to restart after installation for the component to start working.**
22
+
23
+
### Adding device
24
+
To add the **Plex Recently added** integration to your Home Assistant, use this My button:
0 commit comments