Kodi Community Forum

Full Version: Disable listitem onclick for movie sets?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Or better yet, redirect the onclick to a different control. Possible?
Those lists onclicks are hardcoded in Kodi. You could try using a hidden button to control the movement/onclick of list itself and, via conditionals, change it for movie sets.
I think I found a workaround that doesn't break Focus animations in the actual list. I use a hidden button in the focusedlayout of my list, with a conditional <onfocus> that fires if the current item is a collection. That sends focus to a separate 'handler' button specifically for collections, which moves the main menu using <onup> and <ondown> while also returning focus to the list.

EDIT: Yup, works perfectly.
Nice, glad you sorted it out.