Posts: 361
Joined: Jan 2015
Reputation:
36
Hi everybody;
I'm working in my mod, and I need refresh a window after change a condition, but I don't know how can i do it. Anybody can help me?
I want change between standard lyrics and manfeed style lyrics, but I need reload all music window for the change. I can't get the correct command for it.
Thanks for all.
Posts: 3,587
Joined: Jan 2013
Reputation:
390
If you are talking about an include then it either needs a ReloadSkin() or switched to a visible if the window is already loaded.
Could add an <onclick>ReloadSkin() but will lose ,return info when backing out. Not sure if that matters when in MusicVisualisation though...
Posts: 361
Joined: Jan 2015
Reputation:
36
Hi, mikeSiLVO.
I tryed before this command "ReloadSkin()", but don't like this solution. I think that other solution would be better.
Posts: 3,587
Joined: Jan 2013
Reputation:
390
Include conditions can only be handled a certain way so if you want different then I suggest visibles.
More specific implementation suggestions would require examples of current code with your desired outcome.
Posts: 3,660
Joined: Feb 2008
Reputation:
93
Jeroen
Team-Kodi Member
Posts: 3,660
If you need to refresh the contents of a container you could try Container.Refresh but if the entire window has to be reloaded there is no other options than ReloadSkin
However... reloading the entire window seems like total overkill to me for what you want to do.