Comments (20)
What does your config look like for both the components and cards?
from sensor.plex_recently_added.
Hi, following the sensors code:
- platform: plex_recently_added
name: Film
token: !secret plex_token
host: !secret plex_host
port: !secret plex_port
section_types:
- movie
max: 4
download_images: true
img_dir: '/plex_artwork/'
# ssl: false
# ssl_cert: false
- platform: plex_recently_added
name: Serie
token: !secret plex_token
host: !secret plex_host
port: !secret plex_port
section_types:
- show
max: 4
download_images: true
img_dir: '/plex_artwork/'
# ssl: false
# ssl_cert: false
Instead here the card code:
title: Film e Serie TV in uscita
path: upcoming
icon: mdi:filmstrip
background: var(--background-image)
cards:
#TV SHOW CODE
- type: custom:upcoming-media-card
entity: sensor.serie
title: Plex puntate aggiunte di recente
image_style: fanart
flag: false
date: ddmm
border_color: '#222222'
accent_color: '#222222'
box_shadows: false
#FILM CODE
- type: custom:upcoming-media-card
entity: sensor.film
title: Plex Film aggiunti di recente
image_style: fanart
flag: false
date: ddmm
border_color: '#222222'
accent_color: '#222222'
box_shadows: false
from sensor.plex_recently_added.
Looks good, try white listing your home assistant page in your browsers ad blocker.
https://community.home-assistant.io/t/lovelace-upcoming-media-card/66562/585
from sensor.plex_recently_added.
I don't have ad bloker on my browser.
I have PiHole, i tried to white list my internal Home Assistant IP and the external domain i use to connect from remote. But it doesn't work.
I have the same extat problem on every device I use: PC and iDevice
from sensor.plex_recently_added.
Hmmm...Does sensor.serie
show a list of shows like sensor.film
does or does it just show what you shared above?
from sensor.plex_recently_added.
I see the XML code of the page.
Is it correct?
from sensor.plex_recently_added.
Hmmm...Does
sensor.serie
show a list of shows likesensor.film
does or does it just show what you shared above?
This is the output of the sensor.serie:
data: >-
[{"title_default": "$title", "line1_default": "$episode", "line2_default":
"$release", "line3_default": "$number - $rating - $runtime", "line4_default":
"$genres", "icon": "mdi:eye-off"}]
friendly_name: Serie
Instead this one is the sensor.film
data: >-
[{"title_default": "$title", "line1_default": "$episode", "line2_default":
"$release", "line3_default": "$number - $rating - $runtime", "line4_default":
"$genres", "icon": "mdi:eye-off"}, {"airdate": "2020-03-15T22:54:03Z",
"aired": "2019-09-12", "release": "$day, $date $time", "flag": true, "title":
"Hustlers", "episode": "", "runtime": 110, "studio": "Nuyorican Productions",
"genres": "Comedy, Crime", "rating": "\u2605 6.3", "poster":
"/local/plex_artwork/p4088.jpg", "fanart": "/local/plex_artwork/f4088.jpg"},
{"airdate": "2020-03-06T07:07:25Z", "aired": "2019-11-27", "release": "$day,
$date $time", "flag": true, "title": "Knives Out", "episode": "", "runtime":
130, "studio": "Lionsgate", "genres": "Comedy, Crime", "rating": "\u2605 7.8",
"poster": "/local/plex_artwork/p4049.jpg", "fanart":
"/local/plex_artwork/f4049.jpg"}, {"airdate": "2020-03-04T18:41:48Z", "aired":
"1998-12-15", "release": "$day, $date $time", "flag": true, "title": "The
Prince of Egypt", "episode": "", "runtime": 94, "studio": "DreamWorks
Pictures", "genres": "Animation, Adventure", "rating": "\u2605 7.1", "poster":
"/local/plex_artwork/p4043.jpg", "fanart": "/local/plex_artwork/f4043.jpg"},
{"airdate": "2020-02-29T20:45:04Z", "aired": "2013-12-18", "release": "$day,
$date $time", "flag": true, "title": "The Secret Life of Walter Mitty",
"episode": "", "runtime": 114, "studio": "New Line Cinema", "genres": "Comedy,
Drama", "rating": "\u2605 7.1", "poster": "/local/plex_artwork/p3993.jpg",
"fanart": "/local/plex_artwork/f3993.jpg"}]
friendly_name: Film
from sensor.plex_recently_added.
I'm having the same issue but I'm not seeing movie photos but having no issues with TV shows. The sensor is updating the movies that are added to plex perfectly fine but I just don't see any of the poster photos.
When I inspect the element, it looks like the UI is trying to load an image that doesn't exist in the local download folder. When I switch the movie sensor to "download_images: false" it pulls straight from my plex server's local IP address and shows up fine.
What other info would you need to help t-shoot?
from sensor.plex_recently_added.
I'm having the same issue but I'm not seeing movie photos but having no issues with TV shows. The sensor is updating the movies that are added to plex perfectly fine but I just don't see any of the poster photos.
I'm having the same issue. It tries to load images which do not exist in the directory.
from sensor.plex_recently_added.
Thanks all for the helpful info. The component auto deletes images no longer in the list, but I didn't account for this when multiple sensors were added. This causes the multiple sensors to fight each other and delete what isn't in their list. Easy enough fix and I should be able to get to it soon.
from sensor.plex_recently_added.
Thanks all for the helpful info. The component auto deletes images no longer in the list, but I didn't account for this when multiple sensors were added. This causes the multiple sensors to fight each other and delete what isn't in their list. Easy enough fix and I should be able to get to it soon.
I'm having the same issue. Is there a workaround or fix for this ?
from sensor.plex_recently_added.
Thank you for the version 0.4.1 update. This issue is now resolved!
from sensor.plex_recently_added.
Thank you for the version 0.4.1 update. This issue is now resolved!
Awesome ! Not sure why I have a different version number (0.3.0) but just installed the latest update and it fixed it for me as well. Thanks !!
from sensor.plex_recently_added.
Hi @maykar
Iโm still experiencing the same issue.
I have the version 0.3.2
Thanks for your help
from sensor.plex_recently_added.
@tamet83 Please,share your config for the cards and your sensors. Is there a folder for each sensor in /www/upcoming-media-card-images/ ? Those folders should be automatically created and contain your images.
from sensor.plex_recently_added.
@maykar thank you.
I confirm that i have the two folder. But i noticed also that some images are outside the folders as you can see in the screenshot:
Here is the code:
- platform: plex_recently_added
name: Film
token: !secret plex_token
host: !secret plex_host
port: !secret plex_port
section_types:
- movie
max: 4
download_images: true
img_dir: '/plex_artwork/'
# ssl: false
# ssl_cert: false
- platform: plex_recently_added
name: Serie
token: !secret plex_token
host: !secret plex_host
port: !secret plex_port
section_types:
- show
max: 4
download_images: true
img_dir: '/plex_artwork/'
I just noticed that maybe I have to change the img_dir. In case, I'm really sorry, I missed it.
from sensor.plex_recently_added.
Hi @maykar i changed the img_dir path and now sems to work. Although I noticed that the folders are still empty. All the images are stored in the parent folder alla together as you can see on the screenshot attached:
I'm not sure this is the correct behavior. The two sensors folders are still necessary?
from sensor.plex_recently_added.
You can always safely delete the images in that folder, they will be automatically downloaded as needed. There may have been images left over from the update that changed things to be in separate folders for multiple sensors.
The reason you are now getting all the images outside of the folders is because you forgot to end the img_dir path with a /
. Image files always start with and "f" or a "p", but since you left out that slash it is appending what would be the folder name to the beginning of the file. Which won't cause any issues, but the folders will still always be created.
If you'd like them to be in the folder "plex_artwork', put this back in your config img_dir: '/plex_artwork/'
restart HA and then delete all folders and images associated with this component. It will then automatically create the correct folders and files in less than a minute.
from sensor.plex_recently_added.
The reason you can end up with left over files and/or folders is for safety. The component delete's images it no longer needs that match the way it names the files contained in the folders set in config. It can only know what your current setup is, not what it used to be. So if you remove a sensor or rename it, the component won't delete the files. This is just in case someone decides to store something in those same folders, I don't want to delete anyone's files.
from sensor.plex_recently_added.
Many thanks for you help and explanation. Now everything works :)
from sensor.plex_recently_added.
Related Issues (20)
- [Feature request] recently added items on remote server HOT 1
- [Feature Request] Managed users differences HOT 1
- [Feature Request] Exclude watched from results HOT 4
- No version key in the manifest file
- Exclude item or library from results HOT 2
- [Feature Request] filter on (picture) libraries HOT 1
- plex_recently_added: Error on device update! HOT 2
- Platform not found HOT 1
- Corrupted thumbnail images HOT 1
- `device_state_attributes` property replaced with `extra_state_attributes` in HA core HOT 1
- [Feature Request] $date is in US format, makes it hard for people in the rest of the world to read HOT 2
- Not pulling in upcoming events HOT 1
- getting untested by HA error HOT 1
- Confusing/Incorrect Documentation HOT 4
- [Feature Request] Clicking a button on one of the lists plays selected media on plex HOT 9
- [Feature Request] Display 'Recently Added' from specific libraries only HOT 3
- After the update from 0.4.1 to 0.4.2 the thumbnails of the media are no longer shown HOT 20
- Failed to Log-in, certificate verification HOT 7
- [Feature Request] Music Library support HOT 3
- Plex items arenโt clickable HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sensor.plex_recently_added.