2024-02-01, 19:05
(2024-02-01, 02:01)Fuchs2468 Wrote:Hello!(2024-01-31, 18:35)davorf Wrote: This way I get something similar to HBO Max/Plex interface, which shows unified Continue watching "widget". If anybody needs it, I can share parts of code I've added to skin.helper.widgets package.
Yes, I'm interested, unfortunately I'm not familiar with the "HBO Max/Plex interface", maybe it's an enrichment for the skin.
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.
* Changes are made only to Kodi\addons\skin.titan.mod\1080i\IncludesHomeWidgets.xml
On line 2135 I've added (widget_header_multi):
Code:
<visible>Integer.IsGreater(Container($PARAM[widgetid]).NumItems,0) | Container($PARAM[widgetid]).IsUpdating</visible>
On line 2567 I've add (widget_base_normal)
Code:
<visible>Integer.IsGreater(Container($PARAM[widgetid]).NumItems,0) | Container($PARAM[widgetid]).IsUpdating</visible>
I see there are some other types of widgets (widget_base_normal_default, widget_base_enhanced, widget_base_win10), so, I guess, the same line should be added to these widgets as well.
Best regards,
Davor