2014-08-12, 21:59
@Black: do you know if setting sort methods is on the roadmap for Helix?
<onclick>PlayMedia($INFO[Window(Home).Property(MusicVideos.1.Path)],1)</onclick>
<content>plugin://plugin.video.youtube/?path=/root/search&feed=search&search=$ESCINFO[Window(Home).Property(Artist)],return)</content>
(2014-08-13, 07:59)`Black Wrote: Not possible (only with an extra button which controls the list)... however I plan to add an onclick attribute which lets you specify a custom action.
<control type="button">
[...]
<onup>Control.Move(50,-1)</onup>
<ondown>Control.Move(50,1)</ondown>
<onclick>PlayMedia($INFO[Container(50).ListItem.FilenameAndPath],1)</onclick>
</control>
(2014-08-15, 23:06)`Black Wrote: Instead of focusing the list, you need to focus a button and control the list with it. Then you can use a custom onclick action.
PHP Code:<control type="button">
[...]
<onup>Control.Move(50,-1)</onup>
<ondown>Control.Move(50,1)</ondown>
<onclick>PlayMedia($INFO[Container(50).ListItem.FilenameAndPath],1)</onclick>
</control>
(2014-08-16, 04:44)woodside Wrote: Got it... thanks... one more question... Is there a way somehow that the button could be part of the list and transparent so it looks like your navigating on the list but the button absorbs the click?
<visible allowhiddenfocus="true">false</visible>
(2014-08-13, 07:59)`Black Wrote: Not possible (only with an extra button which controls the list)... however I plan to add an onclick attribute which lets you specify a custom action.Are we getting this in Helix? Also are <oninfo> and Container.IsUpdating going in for Helix?
<control type="list">
[...]
#Some static item at the beginning
<content>
<item id="1">
[...]
</item>
</content>
#Now some dynamic content
<content>special://profile/playlists/video/playlist1.xsp</content>
<content>special://profile/playlists/video/playlist2.xsp</content>
#And at the end another static content
<content>
<item id="1">
[...]
</item>
</content>
</control>
(2014-08-16, 11:40)`Black Wrote: You need a plugin for that. However I'm currently thinking of adding the possibility to have multiple contents in a list.
PHP Code:<control type="list">
[...]
#Some static item at the beginning
<content>
<item id="1">
[...]
</item>
</content>
#Now some dynamic content
<content>special://profile/playlists/video/playlist1.xsp</content>
<content>special://profile/playlists/video/playlist2.xsp</content>
#And at the end another static content
<content>
<item id="1">
[...]
</item>
</content>
</control>
(2014-08-16, 11:54)`Black Wrote: No nothing planned on that. The only thing I'd like to add is the possibility to display "recently used add-ons".
Quote:I think since we have the AddonBrowser, we could very well allow to run add-ons from that and add a category "all addons" as well as "recently used add-ons". A MyAddonNav.xml wouldn't be much different, as every add-on would be run in another window anyway.