kcook98765 / skin.aura

Aura skin for Kodi Matrix
Other
15 stars 6 forks source link

Conditional Weather #17

Closed jojobrogess closed 2 years ago

jojobrogess commented 2 years ago

Thought I'd suggest this, since I already have inside Auramod.

Add's conditional weather by adding: <visible>Weather.IsFetched</visible> This is so that null info isn't displayed for people who don't use weather.

FROM: 2022-03-07 17_25_41-Greenshot


TO: 2022-03-07 17_32_21-Greenshot


I was trying to get system info to display when there isn't info supplied, so the page isn't just empty, but I haven't been able to figure it out yet.

There is also a "bug" in this, if you already have weather info supplied and you disable it in settings it takes 20min(ish) for it to refresh, leaving the weather background still displayed. I'm pretty sure you just have to add the visibility condition on that part of the code. I just don't know where that is.

kcook98765 commented 2 years ago

Thanks!