Now I have it looking the business, thanks to your full config, so thanks again!
One last thing im struggling with is a transparent image (as you can see with the magenta)
I created a 10x10px transparent image, but the card wont process it, I’ve been searching around the Picture Elements doco and cant find anything there. I can see that you have specified it in your code
Thank you for the tip! Found the section to edit in the .js. I have one further question: how did you manage to apply different styling to recent movies and recent series? I’m also using the card on a picture-element, and styling the .rece_xxx differently for both cards ends up applying the latest styling only (in my case, the movie version on the series card).
Could you share your full config? Hard to say without the full context – I’ve run into all kinds of weird quirks and problems using picture elements so there might be something that’s not obvious going on. There’s also an example pasted just below here of my recently-added cards, might be something in there that helps?
Some of my configs are a bit hacky and I’m probably not following best practice, but I stop when I get it to do what I want . E.g. when I put a 1:1 “box.png” in a 4:3 card, the hui-image will stretch to fill width and I end up with a 1:1 box that’s taller than my card and some content might be hiding down below where it’s not visible. So I play around with positioning the content where I want and size the ha-card to prevent it extending out and ruining my ratios (tho this mostly only matters when using things in pop-ups).
I had the same problem; I actually had to nest one of the “recent” cards inside another picture element using an hui-element card. Then you can style them independently:
On one of my cards I wanted mouse-over actions, so i had to make sure the mouse-over actionable card was on top of the 2nd/nested picture element. Like I said, there’s probably a more elegant way to handle this with CSS but I’m self-taught and still learning…
Yeah its weird, if you can see something great, its really only doing this on chrome, which I more just use for config. Tablets and phones are showing ok, as is MS Edge, if I really wanted to use that.
But if you can see something, that would be great. if not, its working well enough for me. So much better then the default, so thanks for that
when I use the entity available from HA (the wrong one), the way in which i get it to accept my credentials is : I enter the seedbox address http://seedboxesrus:44555 (this is made up of course), My API key and I do not enter a port (left blank), no SSH to contend with. This works and brings the data through so it is definately connecting to my seedbox.
however using the upcoming sonarr entity is tricky. It will not let me leave the port blank and will therefore not connect to my seedbox. I presume there is some error checking preventing this.
has anyone had any success connect to their seedbox? is there a way to bypass the port setting (I assume it’s coded)
@mayker Hello, I install Upcoming Media Card HACS user interface tab, Emby Latest Media, Sonarr/Radarr Upcoming Media in integrations. I add Emby, Sonarr and Radarr examples to my configuration.yaml and after many reboots and browser cache purging I don’t see any media cards and entities. I put wright credentials and API keys.
Anyone else’s card stop working? I use a custom sensor, so that could be the problem, but I get JSON parse error on line 16. Is attributes.data depreciated?
edit: for my custom sensor, looks like the behavior of self.change_detected: changed in device_state_attributes(self): . I just put the update outside the changed_detected.
If I use the troubleshooting page and try the above for sonarr, works fine.
If I do it for radarr I just get: No web page was found for the web address
Even if I take it back to localhost:7878 and run it on the server. Same thing.
Anyone has problems where the card shows empty posters? If I go to the www/Recently_Added_Movies folder, I can see that any empty poster corresponds to files images that are corrupted. I can’t open them. So out of 5 movies, 2 posters work fine but three are corrupt. If I manually change the jpg for those then all works well. So the automation grabs corrupt files? Where does it grab them from? This is the firs time it happens. I’ve had this card for over 2 years.
Yes but I found this months ago and made a PR for it that was merged so update your card
It is working with the current version.
There is a new bug though introduced in the last few weeks sometime around version 4.0.2.5817 of Radarr related to the ratings. There is a PR to fix that as well that you can manually patch your sensor.py file with. then it works again.