How to Refresh page in XBMC?
#1
Due to when i upload Video and streaming into XBMC but it must back previous menu and go to that directory again.

Is it possible to refresh XBMC or Skin page ?
Reply
#2
after upload, call runPlugin with appropriate parameters ... could be possible ?
Reply
#3
How to do it? i used the code to add URL that i streaming video from my website like this
Code:
def addLink(name,url,iconimage,detail):
        u=url
        ok=True
        liz=xbmcgui.ListItem(name, iconImage="DefaultVideo.png", thumbnailImage=iconimage)
        liz.setInfo( type="Video", infoLabels={ "Title": name , "Plot" : detail } )
        liz.setProperty('IsPlayable', 'true')
        ok=xbmcplugin.addDirectoryItem(handle=int(sys.argv[1]),url=u,listitem=liz)

        return ok
Reply
#4
the context is missing. Can you show your code whre you're calling this function?
Reply
#5
To refresh xbmc (actually skin ) you can call
PHP Code:
ReloadSkin() 
from .xml files
from .py files use:
PHP Code:
xbmc.executebuiltin('ReloadSkin()'


To update a page of any addon:
PHP Code:
XBMC.Container.Update(plugin://<plugin_name>/path) 
Reply
#6
Thank you a lot
Reply

Logout Mark Read Team Forum Stats Members Help
How to Refresh page in XBMC?0