def __init__(self):
self.skipSeconds = float(FIRST_SKIP_SECONDS)
self.cumulativeSkipSeconds = 0.0
self.startTime = None
self.previousDirection = None
self.directionChanged = False
self.addControl(xbmcgui.ControlImage(10, 10, 200, 90, addon.getAddonInfo('path')+'/resources/media/background.png'))
self.controlLabel1 = xbmcgui.ControlLabel(x=20, y=20, width=180, height=30, label="", alignment=xbfont_center_y|xbfont_center_x)
self.addControl(self.controlLabel1)
self.controlLabel1.setLabel(i18n_jump + ": " + str(FIRST_SKIP_SECONDS) + " " + i18n_sec)
self.controlLabel2 = xbmcgui.ControlLabel(x=20, y=60, width=180, height=30, label="", alignment=xbfont_center_y|xbfont_center_x)
self.addControl(self.controlLabel2)
self.controlLabel2.setLabel(i18n_place + ": +00:00:00")
评论列表
文章目录