2015-04-24, 09:38
(2015-02-28, 13:46)sualfred Wrote: Fighting it since a while and I'm not sure if it's even possible:
I want to add an additional <onclick> action, which adds the thumb path of the item as a window property.
This should only be done if the default action triggers an PlayMedia command.
Since the <onclick> action is always different because of IDs, the usual override doesn't work.
Reason:
I'm using a lot of favourites in the sub menu for radio streams for example. This is working great, but the Player.Art(thumb) will be empty in the most cases and I want to use the window property as an fallback.
Any ideas?
I've added some code a few days back to solve another issue but you can use that for this too.
Basically it's another override you can set in the overrides.xml to add an additional (not replaced) onclick action for a specific menu.
You can use any menu, even mainmenu.
See this: http://forum.kodi.tv/showthread.php?tid=...pid1988578
It is merged in the script's code and some users are testing it now. Once tested I think BigNoid can/will do another release to the repo.