2024-02-03, 00:21
(2024-02-02, 23:59)Fuchs2468 Wrote:Hello!(2024-02-01, 19:05)davorf Wrote: I've also found a way to hide empty widgets (adapted parts of code from Embuary Matrix skin), but, since I'm total newbie when it comes to Kodi, I'm not sure if it will work for all the widgets - I've just changed parts that affected widgets I'm using. If you're going to include these changes, they would need a thorough testing and, probably, they would need to be applied to other widget types as well.Yes that is a good idea.Code:<visible>Integer.IsGreater(Container($PARAM[widgetid]).NumItems,0) | Container($PARAM[widgetid]).IsUpdating</visible>
I had already thought about that, but it's all very time-consuming to test it in every possible skin view and widget setting.
As far as I could tell, there are only 4 types of widgets (widget_normal, widget_base_normal_default, widget_base_enhanced, widget_base_win10), plus widget header (widget_header_multi). Don't know if you've seen it, but I've also posted parts of code for Continue watching + Next episodes widgets some time earlier. I think that one should work OK, it's not very hard to test if it works (it worked for me).
Besides that, I was wondering if you could help me with my problem regarding Genres view? I'm using that view often, and it's kind of deal breaker when it displays documentary for everything but first 2 genres. I wrote about that in this post: https://forum.kodi.tv/showthread.php?tid...pid3182490
Thank you in advance.
Best regards,
Davor