Release script.embuary.helper - a skin helper service / widgets alternative
Hi. Its me again.

2 questions

1st
I (like to) use the widgets provided here as a main category for script.skinshortcuts, to set content paths for widgets.

Which works pretty well.

But if i use youse common ||BROWSE|| Method i can't set the widgetreload attribute
So  how important is reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)] append for that case ?

I read  your wiki carefully wiki and thought the refresh op (- a library item has been updated) is done by kodi anyway, or am i missing somthing ?

Tested with and without that prop append for "resume" widget, booth refreshes after watching.

I use them just for HomeWidgets
xml:
<widget-groupings>
...
    <!-- USE script Browse Method, cant set refresh attr -->
    <shortcut label="embuary helper" type="32010" icon="skinnamerealtextures/defaultembuary1.png">||BROWSE||script.embuary.helper</shortcut>
    <!-- custom can set refresh attr , but more work -->
    <node label="local">
                <node label="20395">
                    <shortcut label="$ADDON[script.embuary.helper 32013]" icon="skinnamerealtextures/defaultembuary1.png" widget="video" widgetType="video" widgetTarget="video">plugin://script.embuary.helper/?info=getinprogress&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]</shortcut>
                    <shortcut label="unwatched genres" icon="skinnamerealtextures/defaultembuary1.png" widget="inprogress" widgetType="video" widgetTarget="video">plugin://script.embuary.helper/?info=getbygenre&amp;unwatched=True&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]</shortcut>
                </node>
                
                <node label="20342">
                    <!-- content genres -->
                    <shortcut label="135" icon="skinnamerealtextures/defaultembuary1.png" widget="addon" widgetType="video" widgetTarget="video">plugin://script.embuary.helper/?info=getgenre&amp;type=movie&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]</shortcut>
                    <!-- Suggestions based on random watched item -->
                    <shortcut label="$ADDON[script.embuary.helper 32007]" icon="skinnamerealtextures/defaultembuary1.png" widget="video" widgetType="video" widgetTarget="video">plugin://script.embuary.helper/?info=getsimilar&amp;type=movie&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]</shortcut>
                    <!-- Suggestions based on last watched item -->
                    <shortcut label="$ADDON[script.embuary.helper 32014]" icon="skinnamerealtextures/defaultembuary1.png" widget="video" widgetType="video" widgetTarget="video">plugin://script.embuary.helper/?info=getsimilar&amp;pos=0&amp;type=movie&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]</shortcut>
                    <!-- suggestion random genre -->
                    <shortcut label="$ADDON[script.embuary.helper 32009]" icon="skinnamerealtextures/defaultembuary1.png" widget="video" widgetType="video" widgetTarget="video">plugin://script.embuary.helper/?info=getbygenre&amp;type=movie&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]</shortcut>
                    <!-- in progress movies random genre -->
                    <shortcut label="$ADDON[script.embuary.helper 32013]" icon="skinnamerealtextures/defaultembuary1.png" widget="video" widgetType="video" widgetTarget="video">plugin://script.embuary.helper/?info=getinprogress&amp;type=movie&amp;reload=$INFO[Window(home).Property(EmbuaryWidgetUpdate)]</shortcut>
                </node>
...


2st
regarding to mixed content widget(s) action behaviour.

It seems KODI ignoring default select action (myvideos.selectaction),  when select content , e.g. Continue watching widget.

In my case content is set to videos, but it always force the dialogcontextmenu, regardless of kodi setting.

Actual i am using
an include, but may there is also something i am missing here.

xml:
<onclick condition="String.IsEqual(Window(home).property(myvideos.selectaction),3)">Action(Info)</onclick>
<onclick condition="![ListItem.IsFolder | ListItem.IsCollection] + ListItem.IsResumable + !String.IsEqual(Window(home).property(myvideos.selectaction),3) + [String.IsEqual(Window(home).property(myvideos.selectaction),2) | String.IsEqual(Window(home).property(myvideos.selectaction),1)]">PlayMedia($ESCINFO[ListItem.FilenameAndPath],resume)</onclick>

Is there any other way to circumstance the dialogcontextmenu activation within path attributes ?
Reply


Messages In This Thread
RE: script.embuary.helper - a skin helper service / widgets alternative - by User 405025 - 2019-09-23, 12:49
Logout Mark Read Team Forum Stats Members Help
script.embuary.helper - a skin helper service / widgets alternative3