2019-09-24, 22:19
Working on a list of music, in this case specifically albums if it matters. I have several buttons that I'd like to take an actions based on the focused item. The problem is, I lose access to the listitems when the focus changes. I've tried capturing the listitem into a string as the list is navigated using but no success.
One workaround was to use a quick script that ties the action directly to a keystroke since that can be done without losing focus on the list. But it would be better to have on screen buttons.
Any help would be appreciated.
Also tried capturing the listitem using <onunfocus> as a trigger, also without success.xml:<onup>Skin.SetString(foo,$INFO[ListItem.DBID])</onup>
<ondown>Skin.SetString(foo,$INFO[ListItem.DBID])</ondown>
xml:<onunfocus>Skin.Setstring(foo,$INFO[ListItem.DBID])</onunfocus>
One workaround was to use a quick script that ties the action directly to a keystroke since that can be done without losing focus on the list. But it would be better to have on screen buttons.
Any help would be appreciated.