2016-02-06, 15:06
@Mr. V
tried to add a widget for a German daily TV HighLight...
So I add to the Widget settings, what was not the problem... until this step everything worgs fine...
So now you can add it to every Mainmenu-Item...
But to ge get all Propertys for the OnInfo-Window I need to run the script this will be normaly done in the
Include of the widget in the Includes.Widget.xml...
after Run the script there are some more propertys like Plot and Rating...
But with your great widget-system I don't have a <onclick> there is a <oninfo> but <oninfo> didn't work to run the script..
So any ideas to solve this...?
tried to add a widget for a German daily TV HighLight...
So I add to the Widget settings, what was not the problem... until this step everything worgs fine...
So now you can add it to every Mainmenu-Item...
But to ge get all Propertys for the OnInfo-Window I need to run the script this will be normaly done in the
Include of the widget in the Includes.Widget.xml...
Code:
<include name="TVHighLightsContent">
<item>
<property name="channel">$INFO[Window.Property(TVHighlightsToday.1.Channel)]</property>
<property name="comment">$INFO[Window.Property(TVHighlightsToday.1.Comment)]</property>
<property name="genre">$INFO[Window.Property(TVHighlightsToday.1.Genre)]</property>
<property name="country">$INFO[Window.Property(TVHighlightsToday.1.Country)]</property>
<property name="year">$INFO[Window.Property(TVHighlightsToday.1.Year)]</property>
<label>$INFO[Window.Property(TVHighlightsToday.1.Title)]</label>
<onclick>RunScript(plugin.program.tvhighlights,"?methode=set_details_to_home&detailurl=$INFO[Window.Property(TVHighlightsToday.1.Popup)]")</onclick>
<logo>$INFO[Window.Property(TVHighlightsToday.1.Logo)]</logo>
<icon>$INFO[Window.Property(TVHighlightsToday.1.Logo)]</icon>
<property name="extrainfos">$INFO[Window.Property(TVHighlightsToday.1.Extrainfos)]</property>
<label2>$INFO[Window.Property(TVHighlightsToday.1.Time)]</label2>
<thumb>$INFO[Window.Property(TVHighlightsToday.1.Thumb)]</thumb>
<actualicon>$INFO[Window.Property(TVHighlightsToday.1.Logo)]</actualicon>
<visible>!IsEmpty(Window.Property(TVHighlightsToday.1.Title))</visible>
<visible>!IsEmpty(Window.Property(TVHighlightsToday.1.Title))</visible>
</item>
<item>
<property name="channel">$INFO[Window.Property(TVHighlightsToday.2.Channel)]</property>
<property name="comment">$INFO[Window.Property(TVHighlightsToday.2.Comment)]</property>
<property name="genre">$INFO[Window.Property(TVHighlightsToday.2.Genre)]</property>
<property name="country">$INFO[Window.Property(TVHighlightsToday.2.Country)]</property>
<property name="year">$INFO[Window.Property(TVHighlightsToday.2.Year)]</property>
<label>$INFO[Window.Property(TVHighlightsToday.2.Title)]</label>
<onclick>RunScript(plugin.program.tvhighlights,"?methode=set_details_to_home&detailurl=$INFO[Window.Property(TVHighlightsToday.2.Popup)]")</onclick>
<logo>$INFO[Window.Property(TVHighlightsToday.2.Logo)]</logo>
<icon>$INFO[Window.Property(TVHighlightsToday.2.Logo)]</icon>
<property name="extrainfos">$INFO[Window.Property(TVHighlightsToday.2.Extrainfos)]</property>
<label2>$INFO[Window.Property(TVHighlightsToday.2.Time)]</label2>
<thumb>$INFO[Window.Property(TVHighlightsToday.2.Thumb)]</thumb>
<actualicon>$INFO[Window.Property(TVHighlightsToday.2.Logo)]</actualicon>
<visible>!IsEmpty(Window.Property(TVHighlightsToday.2.Title))</visible>
<visible>!IsEmpty(Window.Property(TVHighlightsToday.1.Title))</visible>
</item>
after Run the script there are some more propertys like Plot and Rating...
But with your great widget-system I don't have a <onclick> there is a <oninfo> but <oninfo> didn't work to run the script..
So any ideas to solve this...?