Kodi Community Forum

Full Version: Tweaking Animation for Main Menu Plugin item
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,

I'm using the following entry in Home.xml

Code:
<item id="9">
    <label>31911</label>
    <onclick>ActivateWindow(Video,plugin://plugin.video.plj/,return)</onclick>
</item>

It works, but the transition is not smooth. First it fades out the Home Window, and fades in an empty Video Window. Than immediately fades out this empty Video Window and fades in my plugin. Is there a workaround for this so the animations dont stack like this?
Try RunAddon(plugin.video.plj)
no go on RunAddon(), I still get the same behavior.

I was able to smooth out the transition with this:

Code:
                        <onclick>ActivateWindow(Videos,' ',return)</onclick>
                        <onclick>Container.Update(plugin://plugin.video.plj,replace)</onclick>

but now Back won't take me back to the home menu. I thought the replace option would take care of this, but maybe I'm confused about how that works.