def openYttrailer(self): try: from Plugins.Extensions.YTTrailer.plugin import YTTrailer, baseEPGSelection__init__ except ImportError as ie: pass if baseEPGSelection__init__ is None: return ytTrailer = YTTrailer(self.session) ytTrailer.showTrailer(self.eventName)
def start(session, args): if args.has_key("Title"): ytTrailer = YTTrailer(session) ytTrailer.showTrailer(args["Title"])