def playWebDriver(self, url, title): try: import liveremote video = liveremote.resolve(url) liz = xbmcgui.ListItem(title) liz.setPath(video) liz.setProperty('IsPlayable', 'true') xbmc.Player().play(video, liz) except: import sys, traceback traceback.print_exc(file=sys.stdout) common.showInfo('This is not the option you are looking for.')
def playWebDriver(self, url, title): try: import liveremote video = liveremote.resolve(url) liz = xbmcgui.ListItem(title) liz.setPath(video) liz.setProperty('IsPlayable','true') xbmc.Player(self.getPlayerType()).play(video, liz) except: import sys,traceback traceback.print_exc(file = sys.stdout) common.showInfo('This is not the option you are looking for.')