2016-02-06, 17:30
(2016-02-06, 16:56)sveni_lee Wrote: I think the addon on the Repro ist not up to date... it was discussed at the German Forums and there was a lot of changes. I think Tobias will update the
Repro in the next days...
That makes sense. I'm looking at the git version, which appears to be v0.1.1. I can see 0.1.5 on the KodiNerds forum, but it requires registration to download so I won't be looking at that
(2016-02-06, 16:56)sveni_lee Wrote: you mean in this way?
Code:<onclick>RunScript(plugin.program.tvhighlights,"?methode=set_details_to_home&detailurl=$INFO[Window.Property(TVHighlightsToday.1.Popup)]")</onclick>
Yes.
(2016-02-06, 16:56)sveni_lee Wrote:that part will set the Property without open the Info dialog... (change of the new version)Code:?methode=set_details_to_home
I tried to get in the way that <oninfo> starts the script so that I coult use the Window(1199) for the detail infis...
so tried to find a way to run script by pressing info on the Mainscreen...
If you want to run the script oninfo you need to first add a property to each of the static list items:-
Code:
<property name="TVHighlightsToday.Popup">$INFO[Window.Property(TVHighlightsToday.1.Popup)]</property>
Then head to Includes_Widgets.xml, and find the two includes OnInfo1 and OnInfo2. You need to add a new <oninfo /> before the ActivateWindow(1199) one. For the OnInfo1:-
Code:
<oninfo condition="!IsEmpty(Container(8001).ListItem.Property(TVHighlightsToday.Popup))">RunScript(plugin.program.tvhighlights,"?methode=set_details_to_home&detailurl=$INFO[Container(8001).ListItem.Property(TVHighlightsToday.Popup)]")</oninfo>
You'll then need to edit window 1199 to display the window properties
It's also worth noting that the upcoming Mr. V's widgets v3.5, the container ID's are generated dynamically when the main menu is built. So you'll need to make multiple edits to the skin.aeon.nox.silvo/shortcuts/template.xml to pass through the correct ID as well as edit the OnInfo include itself when those widgets land (though I don't believe there's any ETA at all).