kodi
|
Public Member Functions | |
def | __init__ (self, url) |
def | launch_url (self) |
Static Public Member Functions | |
def | notification (heading, message, icon=None, time=15000, sound=True) |
Public Attributes | |
url | |
Display url using the default browser usage: script_path = os.path.join(_ADDON_PATH, 'resources', 'lib', 'version_check', 'viewer.py') xbmc.executebuiltin('RunScript(%s,%s,%s)' % (script_path, 'webbrowser', 'https://kodi.tv/')) :param url: url to open :type url: str
def lib.version_check.viewer.WebBrowser.launch_url | ( | self | ) |
Open self.url in the default web browser
|
static |
Create a notification :param heading: notification heading :type heading: str :param message: notification message :type message: str :param icon: path and filename for the notification icon :type icon: str :param time: time to display notification :type time: int :param sound: is notification audible :type sound: bool