Source code for xbmcswift2.actions

'''
    xbmcswift2.actions
    ------------------

    This module contains wrapper functions for XBMC built-in functions.

    :copyright: (c) 2012 by Jonathan Beluch
    :license: GPLv3, see LICENSE for more details.
'''


[docs]def background(url): '''This action will run an addon in the background for the provided URL. See 'XBMC.RunPlugin()' at http://wiki.xbmc.org/index.php?title=List_of_built-in_functions. ''' return 'XBMC.RunPlugin(%s)' % url
[docs]def update_view(url): '''This action will update the current container view with provided url. See 'XBMC.Container.Update()' at http://wiki.xbmc.org/index.php?title=List_of_built-in_functions. ''' return 'XBMC.Container.Update(%s)' % url

Related Topics